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>
|
2021-12-17 11:07:39 +01:00
|
|
|
[DF: Small tweaks necessary for rebasing on top of 6.2.0]
|
|
|
|
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
|
2018-12-06 22:20:59 +01:00
|
|
|
---
|
|
|
|
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-12-17 11:07:39 +01:00
|
|
|
index 0f1fecc68edfb07633589b0f3c75..b23c4798aa112efee49cf5c9469e 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
|
2021-12-17 11:07:39 +01:00
|
|
|
- read_timeout="-t ${QEMU_COMM_TIMEOUT}"
|
|
|
|
+ read_timeout="-t $((${QEMU_COMM_TIMEOUT}*3))"
|
|
|
|
if [ -n "${GDB_OPTIONS}" ]; then
|
|
|
|
read_timeout=
|
|
|
|
fi
|