From: Bruce Rogers Date: Sun, 25 Nov 2018 18:01:36 -0700 Subject: tests: block-io test 130 needs some delays I haven't figured out exactly the best solution, but we need some delays in this test. Signed-off-by: Bruce Rogers --- tests/qemu-iotests/130 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qemu-iotests/130 b/tests/qemu-iotests/130 index 77ad2aa13a..14a2b759f6 100755 --- a/tests/qemu-iotests/130 +++ b/tests/qemu-iotests/130 @@ -63,6 +63,7 @@ echo # Test that a backing file isn't written _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base" _send_qemu_cmd $QEMU_HANDLE "commit testdisk" "(qemu)" +sleep 5 _send_qemu_cmd $QEMU_HANDLE '' '(qemu)' _cleanup_qemu _img_info | _filter_img_info @@ -72,6 +73,7 @@ _img_info | _filter_img_info _make_test_img -F raw -b "$TEST_IMG.orig" 64M _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base",backing.driver=$IMGFMT _send_qemu_cmd $QEMU_HANDLE "commit testdisk" "(qemu)" +sleep 5 _send_qemu_cmd $QEMU_HANDLE '' '(qemu)' _cleanup_qemu _img_info | _filter_img_info