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:
parent
3919de6358
commit
c12e231d32
1 changed files with 9 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue