[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v8 6/6] iotests: extend sleeping time under Valgrind
From: |
Andrey Shinkevich |
Subject: |
[Qemu-block] [PATCH v8 6/6] iotests: extend sleeping time under Valgrind |
Date: |
Wed, 4 Sep 2019 12:11:24 +0300 |
To synchronize the time when QEMU is running longer under the Valgrind,
increase the sleeping time in the test 247.
Signed-off-by: Andrey Shinkevich <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: John Snow <address@hidden>
---
tests/qemu-iotests/247 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/247 b/tests/qemu-iotests/247
index 546a794..c853b73 100755
--- a/tests/qemu-iotests/247
+++ b/tests/qemu-iotests/247
@@ -57,7 +57,11 @@ TEST_IMG="$TEST_IMG.4" _make_test_img $size
{"execute":"block-commit",
"arguments":{"device":"format-4", "top-node": "format-2",
"base-node":"format-0", "job-id":"job0"}}
EOF
-sleep 1
+if [ "${VALGRIND_QEMU}" == "y" ]; then
+ sleep 10
+else
+ sleep 1
+fi
echo '{"execute":"quit"}'
) | $QEMU -qmp stdio -nographic -nodefaults \
-blockdev file,node-name=file-0,filename=$TEST_IMG.0,auto-read-only=on \
--
1.8.3.1
- [Qemu-block] [PATCH v8 0/6] Allow Valgrind checking all QEMU processes, Andrey Shinkevich, 2019/09/04
- [Qemu-block] [PATCH v8 6/6] iotests: extend sleeping time under Valgrind,
Andrey Shinkevich <=
- [Qemu-block] [PATCH v8 1/6] iotests: allow Valgrind checking all QEMU processes, Andrey Shinkevich, 2019/09/04
- [Qemu-block] [PATCH v8 3/6] iotests: Add casenotrun report to bash tests, Andrey Shinkevich, 2019/09/04
- [Qemu-block] [PATCH v8 4/6] iotests: Valgrind fails with nonexistent directory, Andrey Shinkevich, 2019/09/04
- [Qemu-block] [PATCH v8 5/6] iotests: extended timeout under Valgrind, Andrey Shinkevich, 2019/09/04
- [Qemu-block] [PATCH v8 2/6] iotests: exclude killed processes from running under Valgrind, Andrey Shinkevich, 2019/09/04
- Re: [Qemu-block] [PATCH v8 0/6] Allow Valgrind checking all QEMU processes, Kevin Wolf, 2019/09/04