Make the activation check for systemd user daemon more robust
This commit is contained in:
parent
6f264ccb43
commit
b476741b92
|
@ -30,6 +30,7 @@ in
|
|||
'' + pkgs.lib.optionalString profileSettings.params.forceDisableUserChange ''
|
||||
machine.wait_for_unit("display-manager.service")
|
||||
machine.wait_until_succeeds("pgrep -f 'systemd --user'")
|
||||
machine.wait_for_file("/run/user/1000/systemd")
|
||||
'';
|
||||
|
||||
deploySystem = ''
|
||||
|
|
|
@ -100,6 +100,7 @@ makeTest {
|
|||
start_all()
|
||||
machine.wait_for_unit("display-manager.service")
|
||||
machine.wait_until_succeeds("pgrep -f 'systemd --user'")
|
||||
machine.wait_for_file("/run/user/1000/systemd")
|
||||
|
||||
# Do an undeploy to force the state to get initialized
|
||||
machine.succeed(
|
||||
|
|
Loading…
Reference in New Issue