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):