diff --git a/testing/integration/remote-maintenance.nix b/testing/integration/remote-maintenance.nix index 4ede6410..9dd5c113 100644 --- a/testing/integration/remote-maintenance.nix +++ b/testing/integration/remote-maintenance.nix @@ -45,7 +45,7 @@ pkgs.nixosTest { # Default connection setting does not start ZT service on its own defaultConnectionSetting.start() - defaultConnectionSetting.wait_for_unit('multi-user.target') + defaultConnectionSetting.wait_for_unit('graphical.target') defaultConnectionSetting.fail('ls /var/lib/zerotier-one/') defaultConnectionSetting.fail('ip link show ztmntnc') defaultConnectionSetting.systemctl('start zerotierone.service') @@ -53,7 +53,7 @@ pkgs.nixosTest { # Auto-connected makes ZT operational on its own autoConnected.start() - defaultConnectionSetting.wait_for_unit('multi-user.target') + defaultConnectionSetting.wait_for_unit('graphical.target') is_zt_operational(autoConnected) ''; }