Repository navigation
Commit ea41717
committed
Make proxy error-path test independent of TCP refusal timing.
The streaming, credentials, and logging assertions had already passed.
The failure occurred in the final check, which expected HTTP 502 after
reconnecting to a closed upstream port.
The test assumes connection refusal completes quickly. Windows TCP
retry behavior can exceed the test's two-second deadline. Both the
client and proxy use that deadline, so the client can time out before
receiving an error response. Linux and macOS passed in the linked run.
The local upstream fixture now accepts the final request and closes
without responding, producing an upstream error without depending on
connection-refusal timing.
See: https://github.com/asimov-platform/asimov-sdk/actions/runs/37508505937/job/1124232200481 parent b20e8ba commit ea41717
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
359 | 365 | | |
360 | 366 | | |
361 | 367 | | |
| |||
433 | 439 | | |
434 | 440 | | |
435 | 441 | | |
436 | | - | |
437 | 442 | | |
438 | | - | |
| 443 | + | |
439 | 444 | | |
440 | 445 | | |
| 446 | + | |
441 | 447 | | |
442 | 448 | | |
443 | 449 | | |
| |||
0 commit comments