diff options
author | Thomas Huth <thuth@redhat.com> | 2022-08-02 14:31:01 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-08-07 18:51:35 +0200 |
commit | 407634970dc5dba9330c360cfdc4e69e7aea3b37 (patch) | |
tree | 4c6faed41efbe33b430b10faa830adb06b012add | |
parent | c05a88c6b2a752ab9cae21d06f2e67c7c4a3bbde (diff) | |
download | qemu-407634970dc5dba9330c360cfdc4e69e7aea3b37.zip qemu-407634970dc5dba9330c360cfdc4e69e7aea3b37.tar.gz qemu-407634970dc5dba9330c360cfdc4e69e7aea3b37.tar.bz2 |
tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive
It is possible to hit the assertTrue(delta_t < 2.0) on very loaded
systems. Increase the value to 5.0 to ease the situation a little bit.
Message-Id: <20220802123101.430757-1-thuth@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rwxr-xr-x | tests/qemu-iotests/264 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/264 b/tests/qemu-iotests/264 index bc431d1..289381e 100755 --- a/tests/qemu-iotests/264 +++ b/tests/qemu-iotests/264 @@ -101,7 +101,7 @@ class TestNbdReconnect(iotests.QMPTestCase): start_t = time.time() self.vm.event_wait('BLOCK_JOB_CANCELLED') delta_t = time.time() - start_t - self.assertTrue(delta_t < 2.0) + self.assertTrue(delta_t < 5.0) def test_mirror_cancel(self): # Mirror speed limit doesn't work well enough, it seems that mirror |