Commit a295e7a
authored
unmuting test & adding small variance to one of the int variables within testGetStatusFromStoredSearchWithNonEmptyClustersStillRunning to pass the needed test assertion (elastic#100812)
The issue with the failing test was that we're having an assertion
within the test suite that relies on 3 randomly generated integers. The
assertion states that the sum should be a strictly positive number,
whereas the integers are drawn from the `[0, 10]` range.
Since this seems to be only test-related, and IIUC is not an actual
issue that we might have to deal with, in this PR we are adding small
variance to one of the int variables in case all of them are 0
(+unmuting the test itself).
Closes elastic#987061 parent 37de343 commit a295e7a
File tree
1 file changed
+10
-1
lines changed- x-pack/plugin/async-search/src/test/java/org/elasticsearch/xpack/search
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
| |||
426 | 425 | | |
427 | 426 | | |
428 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
429 | 438 | | |
430 | 439 | | |
431 | 440 | | |
| |||
0 commit comments