All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive
@ 2022-08-02 12:31 Thomas Huth
  2022-08-06 15:40 ` Vladimir Sementsov-Ogievskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2022-08-02 12:31 UTC (permalink / raw)
  To: Kevin Wolf, Hanna Reitz, qemu-devel
  Cc: qemu-block, Vladimir Sementsov-Ogievskiy

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.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 See also https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg03936.html

 tests/qemu-iotests/264 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/264 b/tests/qemu-iotests/264
index bc431d1a19..289381e315 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
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive
  2022-08-02 12:31 [PATCH] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive Thomas Huth
@ 2022-08-06 15:40 ` Vladimir Sementsov-Ogievskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2022-08-06 15:40 UTC (permalink / raw)
  To: Thomas Huth, Kevin Wolf, Hanna Reitz, qemu-devel
  Cc: qemu-block, Vladimir Sementsov-Ogievskiy

On 8/2/22 15:31, Thomas Huth wrote:
> 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.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   See also https://lists.gnu.org/archive/html/qemu-devel/2022-07/msg03936.html
> 
>   tests/qemu-iotests/264 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/qemu-iotests/264 b/tests/qemu-iotests/264
> index bc431d1a19..289381e315 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

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>

-- 
Best regards,
Vladimir


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-06 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 12:31 [PATCH] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive Thomas Huth
2022-08-06 15:40 ` Vladimir Sementsov-Ogievskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.