61d160304c
Update to v3.1.0 OBS-URL: https://build.opensuse.org/request/show/657323 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=434
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From ea96fb81295d2c6e5ed20201dc3c9583d2b8bb4c Mon Sep 17 00:00:00 2001
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
Date: Tue, 20 Nov 2018 15:46:41 -0700
|
|
Subject: [PATCH] tests/qemu-iotests: Triple timeout of i/o tests due to obs
|
|
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
|
|
index 7c87b897fa..2793e9fde6 100644
|
|
--- a/tests/qemu-iotests/common.qemu
|
|
+++ b/tests/qemu-iotests/common.qemu
|
|
@@ -76,7 +76,7 @@ _timed_wait_for()
|
|
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
|
|
if [ -z "${silent}" ] && [ -z "${mismatch_only}" ]; then
|
|
echo "${resp}" | _filter_testdir | _filter_qemu \
|