summary refs log tree commit diff
path: root/nixos/tests/lorri
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/lorri
parent698fb089d8276ac6907ae3a13ee1933a59e12112 (diff)
nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
Diffstat (limited to 'nixos/tests/lorri')
-rw-r--r--nixos/tests/lorri/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/lorri/default.nix b/nixos/tests/lorri/default.nix
index c33c7503993da..147ae999fdb1b 100644
--- a/nixos/tests/lorri/default.nix
+++ b/nixos/tests/lorri/default.nix
@@ -14,7 +14,7 @@ import ../make-test-python.nix {
     )
 
     # Start the daemon and wait until it is ready
-    machine.execute("lorri daemon > lorri.stdout 2> lorri.stderr &")
+    machine.execute("lorri daemon > lorri.stdout 2> lorri.stderr >&2 &")
     machine.wait_until_succeeds("grep --fixed-strings 'ready' lorri.stdout")
 
     # Ping the daemon