Commit 2e5ff6c
committed
Fix TestStreamReconnection hanging issue
Use BlockUntil() to properly synchronize with the fake clock before
advancing time. This prevents the test from hanging while waiting for
the goroutine to process the time advancement.
Signed-off-by: Jakob Haahr Taankvist <[email protected]>1 parent 45f209c commit 2e5ff6c
File tree
1 file changed
+3
-1
lines changed- service/sharddistributor/client/spectatorclient
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
| 208 | + | |
208 | 209 | | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
0 commit comments