test: raise default poll_until_condition timeout to deflake integration tests#868
Open
vdusek wants to merge 1 commit into
Open
test: raise default poll_until_condition timeout to deflake integration tests#868vdusek wants to merge 1 commit into
vdusek wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #868 +/- ##
===========================================
+ Coverage 83.26% 94.47% +11.21%
===========================================
Files 48 48
Lines 5072 5072
===========================================
+ Hits 4223 4792 +569
+ Misses 849 280 -569
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
test_request_queue_list_and_lock_headintegration 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 inpoll_until_conditionwas too tight under parallel load.Raise the default timeout from 5s to 30s, and drop the now-redundant explicit
timeout=30overrides 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