Commit 300f9a4
committed
fix: align memory stress tests with backpressure behavior
- Make BACKPRESSURE_TIMEOUT configurable via S3PROXY_BACKPRESSURE_TIMEOUT env var
- Replace test_concurrent_uploads_bounded with test_backpressure_queues_concurrent_uploads
(tests that queued requests succeed instead of asserting immediate 503)
- Replace test_rejection_is_fast_no_body_read with test_rejection_after_backpressure_timeout
(uses 1s timeout to actually trigger rejections)
- Remove retries>0 assertions from memory-bounded tests (backpressure queues
requests instead of rejecting, so retries don't happen with 30s timeout)1 parent 72b69dc commit 300f9a4
File tree
2 files changed
+146
-234
lines changed- s3proxy
- tests/integration
2 files changed
+146
-234
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments