Skip to content

Commit 57b6b38

Browse files
committed
fix missing await in test_batch_rate_limit_min_wins
1 parent 5fbcbf1 commit 57b6b38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bbot/test/test_step_1/test_web_rate_limit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def test_batch_rate_limit_min_wins(bbot_scanner):
8080
# If min() works, dispatch should be paced at 10 rps (~400ms for 5 requests)
8181
# If global wins, dispatch would be at 100 rps (~40ms for 5 requests)
8282
start = time.monotonic()
83-
client.request_batch(configs, concurrency=50, rate_limit=10.0)
83+
await client.request_batch(configs, concurrency=50, rate_limit=10.0)
8484
elapsed = time.monotonic() - start
8585

8686
# 5 requests at 10 rps = 4 intervals × 100ms = ~400ms minimum

0 commit comments

Comments
 (0)