From 2d63276f0550b723054d4c36e732a5ee75629aee Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 22 Nov 2024 20:32:42 +0100 Subject: [PATCH] tests: fix integration test (cherry picked from commit 8cf9cb2ee78aa129e5b8220135a511a2be254c0c) --- tests/integration/nixos/basics.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/nixos/basics.nix b/tests/integration/nixos/basics.nix index e2bff229f..41bddefea 100644 --- a/tests/integration/nixos/basics.nix +++ b/tests/integration/nixos/basics.nix @@ -49,7 +49,7 @@ start_all() - machine.wait_for_unit("home-manager-alice.service") + machine.wait_for_console_text("Finished Home Manager environment for alice.") with subtest("Home Manager file"): # The file should be linked with the expected content. @@ -73,7 +73,7 @@ fail_as_alice("pueue status") machine.systemctl("restart home-manager-alice.service") - machine.wait_for_unit("home-manager-alice.service") + machine.wait_for_console_text("Finished Home Manager environment for alice.") actual = succeed_as_alice("pueue status") expected = "running"