Commit b9e1e2b
committed
Fix race condition in serverStream_triggerEvent_afterClose test.
Wait for the server stream to be fully closed (via awaitClose) before
calling triggerEvent, to ensure the transport has processed the
cancellation and marked the listener as closed. This fixes flakiness in
slower transports like Jetty.
TAG=agy
CONV=e1bfa5a2-e855-4f79-abdd-ef2b264977be1 parent feeab1e commit b9e1e2b
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2139 | 2139 | | |
2140 | 2140 | | |
2141 | 2141 | | |
| 2142 | + | |
| 2143 | + | |
2142 | 2144 | | |
2143 | 2145 | | |
2144 | 2146 | | |
| |||
0 commit comments