carlos / platform Public

demo-alias-cancel-race

Test-only (#897). TestDemoAPIAliasStreaming's "cancel" case expected a cancelled upload's Do to return an error. Sometimes the edge's 503 refusal of the broken upload reaches the client first, and Go's Transport may return that response instead of the cancellation. The test now accepts the cancellation or that 503, and still fails on any other answer. Before: 2 failures in 160 runs under load on DOCS-T1, and diagnostics showed status=503 with an empty body. After: 0 in 300.

Commits 1
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity