Commit 717bd26
authored
fix(ring): Fix flaky TestMinimizeSpreadTokenGenerator (#7484)
Increase the token distribution tolerance from 0.01 (1%) to 0.02 (2%).
The minimize-spread algorithm is probabilistic and can occasionally
produce distributions slightly over 1% error, causing flaky failures.
A 2% tolerance still validates the algorithm works correctly.
Signed-off-by: Ben Ye <benye@amazon.com>1 parent 40aeb52 commit 717bd26
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments