From c2bdad7ab60d61162d65eea94d06b537104e21a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Sun, 24 Oct 2021 21:23:36 +0200 Subject: [PATCH] nixos/switchTest: Make less flakey --- nixos/tests/switch-test.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/switch-test.nix b/nixos/tests/switch-test.nix index 4caa7d98f47f..7ea07a390b80 100644 --- a/nixos/tests/switch-test.nix +++ b/nixos/tests/switch-test.nix @@ -392,7 +392,8 @@ import ./make-test-python.nix ({ pkgs, ...} : { machine.succeed("touch /testpath") machine.wait_until_succeeds("test -f /testpath-modified") - machine.succeed("rm /testpath /testpath-modified") + machine.succeed("rm /testpath") + machine.succeed("rm /testpath-modified") switch_to_specialisation("with-path-modified") machine.succeed("touch /testpath")