Skip to content

test: keep Retry-After out of HTTP metadata probes - #290

Open
wysRocket wants to merge 1 commit into
anmolkapil:mainfrom
wysRocket:test/retry-after-probe
Open

wysRocket wants to merge 1 commit into
anmolkapil:mainfrom
wysRocket:test/retry-after-probe

Conversation

@wysRocket

Copy link
Copy Markdown

Summary

  • Keep the busy-server smoke fixture from returning 503 Retry-After to metadata probes, including the second range used to detect per-range ETags. The cooldown assertion had been treating the first transfer requests as early retries of that probe.
  • Assert that probes don't receive the injected 503. Keep the existing assertions for transfer retries, cooldown, and successful completion. No application code changes.

Validation

  • Reproduced the fixture error on the original rule: the probe for bytes 1024–2047 received the injected 503. With the probe excluded, the targeted test passed three consecutive runs.
  • macOS arm64: npm run lint, npm run typecheck, npm run format:check, and npm run test:e2e:smoke (175 passed, 4 skipped).
  • Exercised by the E2E fixture: 1 MiB HTTP file on loopback, two streams on one test interface, with 14 injected busy responses on transfer requests. No live WAN benchmark was run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant