Commit ec8a3dd
Simon MacMullen
Increase number of messages sent in testFairness() by a factor of ten.
The fairness property is implemented in terms of randomness (see comment
towards end of rabbit_limiter) so we can never be 100% this will pass
but that ought to make it exponentially less likely to fail.
It would probably be a bad idea to try to implement fairness in a non-random
way; there'd always be an edge case somewhere that would end up being unfair.1 parent eac7a48 commit ec8a3dd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments