checks/jellyfin-stateless: wait for config file to be rewritten

This commit is contained in:
Max Headroom 2023-10-29 20:44:28 +01:00
parent ab728bb8d6
commit f1f3cdc668

View file

@ -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")
'';
}