From f1f3cdc6686db0b97003226cac0bf715f85c7880 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 29 Oct 2023 20:44:28 +0100 Subject: [PATCH] checks/jellyfin-stateless: wait for config file to be rewritten --- packages/checks/jellyfin-stateless.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/checks/jellyfin-stateless.nix b/packages/checks/jellyfin-stateless.nix index a8f56b1..ebf475c 100644 --- a/packages/checks/jellyfin-stateless.nix +++ b/packages/checks/jellyfin-stateless.nix @@ -30,6 +30,6 @@ nixosTest { with subtest("should reset to real ffmpeg"): machine.fail("grep -q '/FAKE/bin/ffmpeg' /var/lib/jellyfin/config/encoding.xml") - machine.succeed("grep -q '/nix/store/.*/bin/ffmpeg' /var/lib/jellyfin/config/encoding.xml") + machine.wait_until_succeeds("grep -q '/nix/store/.*/bin/ffmpeg' /var/lib/jellyfin/config/encoding.xml") ''; }