aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-12-13 16:24:25 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-12-13 19:01:38 +0100
commitdf1edd143fcb2532e32bbcb28f774ced1402cda4 (patch)
tree3621ddf3d7fa4b2c7be6b0bc6705663f51e78f17
parent05fcc681ac07c4ea04b365e6b03a76f3e6c54c94 (diff)
gc-non-blocking.sh: Don't hang indefinitely if the GC roots server crashes
-rw-r--r--tests/gc-non-blocking.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc-non-blocking.sh b/tests/gc-non-blocking.sh
index 8b21c6f1c..0d781485d 100644
--- a/tests/gc-non-blocking.sh
+++ b/tests/gc-non-blocking.sh
@@ -19,7 +19,7 @@ pid=$!
sleep 2
-outPath=$(nix-build -o "$TEST_ROOT/result" -E "
+outPath=$(nix-build --max-silent-time 60 -o "$TEST_ROOT/result" -E "
with import ./config.nix;
mkDerivation {
name = \"non-blocking\";