Commit 9b9f920
Fix flaky NoReconnectionToGatewayNotReturnedByManager test (#9942)
The test used a 1-second response timeout, which could cause legitimate
grain calls to the real gateway to spuriously timeout on slow CI machines,
leading to timeoutCount == 2 instead of the expected 1.
- Increase response timeout from 1s to 3s (still below the 5s
OpenConnectionTimeout so fake-gateway calls still produce
TimeoutException)
- Change timeoutCount assertion from exact equality to >= 1, since
the core assertion is connectionCount == 1 (verifying no reconnection)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c039bc6 commit 9b9f920
File tree
1 file changed
+5
-3
lines changed- test/Orleans.Runtime.Tests/ClientConnectionTests
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
160 | | - | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
0 commit comments