From 7f0e0542d2ec95649e26f10644d1451ca500573e Mon Sep 17 00:00:00 2001 From: Benedikt Bartscher Date: Thu, 21 Nov 2024 21:38:21 +0100 Subject: [PATCH] Revert "increase timeout" This reverts commit e01e1ebcb76fce9aafcd9670bb5eae80d5b44224. --- tests/integration/test_background_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_background_task.py b/tests/integration/test_background_task.py index e66197242..d7fe20824 100644 --- a/tests/integration/test_background_task.py +++ b/tests/integration/test_background_task.py @@ -285,7 +285,7 @@ def test_background_task( increment_button.click() yield_increment_button.click() blocking_pause_button.click() - assert background_task._poll_for(lambda: counter.text == "620", timeout=60) + assert background_task._poll_for(lambda: counter.text == "620", timeout=40) # all tasks should have exited and cleaned up assert background_task._poll_for( lambda: not background_task.app_instance.background_tasks # type: ignore