Commit 4bc4b5d
committed
test: fix flaky test-http2-close-while-writing
The test was flaky due to a race condition where `client.close()` would
wait for a graceful shutdown while the server had already destroyed the
session/stream, leading to a timeout.
Changes:
- Replace `client.close()` with `client.destroy()` in the `close`
event handler of the client stream.
Refs: #331561 parent 3d30c30 commit 4bc4b5d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments