nixosTests/frigate: convert to runTest

Part of #386873
This commit is contained in:
Martin Weinelt 2025-03-04 08:04:42 +01:00
parent 5c3df8025f
commit 1faec56024
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 64 additions and 62 deletions

View file

@ -410,7 +410,7 @@ in {
freeswitch = handleTest ./freeswitch.nix {};
freetube = discoverTests (import ./freetube.nix);
freshrss = handleTest ./freshrss {};
frigate = handleTest ./frigate.nix {};
frigate = runTest ./frigate.nix;
frp = handleTest ./frp.nix {};
frr = handleTest ./frr.nix {};
fsck = handleTest ./fsck.nix {};

View file

@ -1,9 +1,12 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
pkgs,
lib,
...
}:
{
{
name = "frigate";
meta.maintainers = with lib.maintainers; [ hexa ];
meta = { inherit (pkgs.frigate.meta) maintainers; };
nodes = {
machine = {
@ -75,5 +78,4 @@ import ./make-test-python.nix (
# wait for a recording to appear
machine.wait_for_file("/var/cache/frigate/test@*.mp4")
'';
}
)
}