Commit 2034543
authored
Make testHedgingWhenAllAttemptsResultInNonFatalCodes more reliable (#1780)
Motivation:
`testHedgingWhenAllAttemptsResultInNonFatalCodes` fails occasionally.
The reason for this is that when the event stating that next scheduled
attempt is cancelled is consumed it cancels the next scheduled attempt
again. However, this is incorrect, another hedged result may have
re-scheduled an attempt which is subsequently cancelled by accident.
Modifications:
Don't double cancel the next scheduled attempt.
result:
The test passes more reliably1 parent f384235 commit 2034543
File tree
1 file changed
+1
-2
lines changed- Sources/GRPCCore/Call/Client/Internal
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
| 233 | + | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
| |||
0 commit comments