about summary refs log tree commit diff
path: root/nixos/tests/nixops
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-11-05 01:43:22 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-11-05 02:41:26 +0100
commit739c51ae4ef9535b37672d7dc303bce432562922 (patch)
tree9da4fc54649597897f3c65c78991fab74ee0f87f /nixos/tests/nixops
parent698fb089d8276ac6907ae3a13ee1933a59e12112 (diff)
nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
Diffstat (limited to 'nixos/tests/nixops')
-rw-r--r--nixos/tests/nixops/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nixops/default.nix b/nixos/tests/nixops/default.nix
index a5c4a82be91d5..3fb81906a5227 100644
--- a/nixos/tests/nixops/default.nix
+++ b/nixos/tests/nixops/default.nix
@@ -78,7 +78,7 @@ let
         # Put newlines on console, to flush the console reader's line buffer
         # in case nixops' last output did not end in a newline, as is the case
         # with a status line (if implemented?)
-        deployer.succeed("while sleep 60s; do echo [60s passed] >/dev/console; done &")
+        deployer.succeed("while sleep 60s; do echo [60s passed]; done >&2 &")
 
         deployer_do("cd ~/unicorn; ssh -oStrictHostKeyChecking=accept-new root@server echo hi")