nbdkit/0001-tests-test-captive.sh-Revert-sleep-back-to-5-seconds.patch
2019-10-19 18:33:03 +01:00

31 lines
916 B
Diff

From 05e478255b23a7149e5189fe718dad53a4488701 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sat, 19 Oct 2019 18:31:24 +0100
Subject: [PATCH] tests/test-captive.sh: Revert sleep back to 5 seconds.
For unknown reasons this makes the test very prone to failure on slow
or heavily loaded machines.
Reverts sleep change from
commit 38165d0f8f5a4eb898d756a561811c2fe042fe4d.
---
tests/test-captive.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-captive.sh b/tests/test-captive.sh
index 88c0d81..b62d5fc 100755
--- a/tests/test-captive.sh
+++ b/tests/test-captive.sh
@@ -44,7 +44,7 @@ rm -f $files
cleanup_fn rm -f $files
nbdkit -U $sock example1 --run '
- sleep 1; echo nbd=$nbd; echo port=$port; echo socket=$unixsocket
+ sleep 5; echo nbd=$nbd; echo port=$port; echo socket=$unixsocket
' > captive.out
# Check the output.
--
2.23.0