Commit cba00a1
fix: Add exponential backoff for shared RQ propagation delay in integration tests
In shared request queue mode, the Apify API has an eventual consistency
propagation delay before newly added or reclaimed requests become visible
in fetch_next_request(). Many integration tests were missing the
call_with_exp_backoff() retry pattern, causing sporadic failures.
Also added rq_access_mode parameter to call_with_exp_backoff() so callers
can pass it directly instead of wrapping every call in an if/else block.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d808305 commit cba00a1
2 files changed
+170
-120
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
| |||
0 commit comments