Watch
0
0
Fork
You've already forked hyperhive
0

fix(matrix): the deferred starter logs the state its boot ended in

A degraded guest still starts the services, and now the journal says so next
to the start. The VM test pins the line.
This commit is contained in:
maia 2026-11-28 06:13:12 +01:00 • committed by mara
commit c12e231d32

View file

@ -110,6 +110,10 @@ pkgs.testers.runNixOSTest {
"test \"$(nixos-container run new -- systemctl show -p ActiveState --value slow.service)\" = activating",
timeout=60,
)
# The starter says which state the boot ended in, next to the start.
out = inside("new", "journalctl -u swarm-container-deferred-start.service --no-pager -o cat")
assert "swarm-container-deferred-start: the boot ended " in out, out
assert "starting slow" in out, out
with subtest("the dependant fails while the daemon starts"):
assert inside("new", "systemctl show -p ActiveState --value client.service") != "active"