From f128afb537bdcf601877f4b5cd1989b6eeb33d7e Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Feb 2024 10:50:15 -0600 Subject: [PATCH] fixing timeout --- plugins/ui/test/deephaven/ui/test_hooks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/ui/test/deephaven/ui/test_hooks.py b/plugins/ui/test/deephaven/ui/test_hooks.py index 1277e2e70..52220ff59 100644 --- a/plugins/ui/test/deephaven/ui/test_hooks.py +++ b/plugins/ui/test/deephaven/ui/test_hooks.py @@ -6,6 +6,8 @@ from unittest.mock import Mock from .BaseTest import BaseTestCase +LISTENER_TIMEOUT = 2.0 + def render_hook(fn: Callable): """ @@ -155,7 +157,7 @@ def _test_table_listener(replayed_table_val=table, listener_val=listener): table_writer.write_row(*update) - if not event.wait(timeout=1.0): + if not event.wait(timeout=LISTENER_TIMEOUT): assert False, "listener was not called" def test_table_listener(self):