Revert "increase timeout"

This reverts commit e01e1ebcb7.
This commit is contained in:
Benedikt Bartscher 2024-11-21 21:38:21 +01:00
parent b26dcfa798
commit 7f0e0542d2
No known key found for this signature in database

View File

@ -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