Commit 0e9963d
committed
Fix off-by-one in testDoesNotSubmitRerouteTaskTooFrequently (#72313)
We reroute when the elapsed time is >= 60000ms, but the test assumes
that no reroute happens exactly at 60000ms. This commit fixes this
off-by-one-ms error.
Relates #60869 which introduced this test issue
Relates #68316 which mostly fixed this test issue except this one spot
Closes #714241 parent 914b1ea commit 0e9963d
File tree
1 file changed
+1
-2
lines changed- server/src/test/java/org/elasticsearch/cluster/routing/allocation
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments