2018-12-06 22:20:59 +01:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Tue, 20 Nov 2018 15:46:41 -0700
|
2019-01-04 22:08:16 +01:00
|
|
|
Subject: tests/qemu-iotests: Triple timeout of i/o tests due to obs
|
2018-12-06 22:20:59 +01:00
|
|
|
environment
|
|
|
|
|
|
|
|
Executing tests in obs is very fickle, since you aren't guaranteed
|
|
|
|
reliable cpu time. Triple the timeout for each test to help ensure
|
|
|
|
we don't fail a test because the stars align against us.
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
tests/qemu-iotests/common.qemu | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu
|
2021-04-30 23:53:49 +02:00
|
|
|
index 0fc52d20d74020a4c4a0d697aaa2..622495201eed12a5fe4734581f84 100644
|
2018-12-06 22:20:59 +01:00
|
|
|
--- a/tests/qemu-iotests/common.qemu
|
|
|
|
+++ b/tests/qemu-iotests/common.qemu
|
2021-04-30 23:53:49 +02:00
|
|
|
@@ -85,7 +85,7 @@ _timed_wait_for()
|
2018-12-06 22:20:59 +01:00
|
|
|
timeout=yes
|
|
|
|
|
|
|
|
QEMU_STATUS[$h]=0
|
|
|
|
- while IFS= read -t ${QEMU_COMM_TIMEOUT} resp <&${QEMU_OUT[$h]}
|
|
|
|
+ while IFS= read -t $((${QEMU_COMM_TIMEOUT}*3)) resp <&${QEMU_OUT[$h]}
|
|
|
|
do
|
2021-04-30 23:53:49 +02:00
|
|
|
if [ -n "$capture_events" ]; then
|
|
|
|
capture=0
|