We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e393e commit 3126dcaCopy full SHA for 3126dca
tests/integration/test_background_task.py
@@ -44,7 +44,7 @@ async def handle_event_yield_only(self):
44
45
@rx.event(background=True)
46
async def fast_yielding(self):
47
- for _ in range(1000):
+ for _ in range(100000):
48
yield State.increment()
49
50
@rx.event
@@ -409,4 +409,4 @@ def test_fast_yielding(
409
assert background_task._poll_for(lambda: counter.text == "0", timeout=5)
410
411
fast_yielding_button.click()
412
- assert background_task._poll_for(lambda: counter.text == "1000", timeout=50)
+ assert background_task._poll_for(lambda: counter.text == "100000", timeout=1200)
0 commit comments