Commit 87da1c2
test: extend retry window for synthetic PPE event propagation (#865)
## Summary
- Increased `retry_counter(30)` to `retry_counter(120)` in
`test_actor_push_data_charges_both_events` and
`test_actor_push_data_combined_budget_limit`
- Synthetic events like `apify-default-dataset-item` are computed by the
platform from dataset writes asynchronously — unlike explicit charges
(which hit the charge endpoint directly and reflect immediately), these
take longer to propagate into `charged_event_counts`
- The existing 30-second window was insufficient; 2 minutes gives the
platform enough time
**Failed CI run that triggered this fix:**
-
https://github.com/apify/apify-sdk-python/actions/runs/24509008169/job/71634833762?pr=863
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bd7a715 commit 87da1c2
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
203 | | - | |
204 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
| |||
0 commit comments