test: raise default poll_until_condition timeout to deflake integration tests (#868)
The `test_request_queue_list_and_lock_head` integration test flaked on a loaded Python 3.14 CI runner: after adding 5 requests, the queue head stayed empty past the 5s poll ceiling (`assert 0 == 5`). The Apify platform's listing endpoints are eventually consistent, so the 5s default in `poll_until_condition` was too tight under parallel load. Raise the default timeout from 5s to 30s, and drop the now-redundant explicit `timeout=30` overrides in the request-queue and run tests. The timeout is only a ceiling, so happy paths are unaffected. Failing CI run: https://github.com/apify/apify-client-python/actions/runs/27765226958/job/82149997276
V
Vlada Dusek committed
bb6878763f2737b6c21749b2f69dc2e6dd7e8a79
Parent: 417d570
Committed by GitHub <noreply@github.com>
on 6/19/2026, 9:59:18 AM