Commit ab55d97
authored
Fix
It was clear from failed tests that DLM was still progressing when the
timeout of 10s was reached. Since DLM works on a poll interval (set to
1s in these tests), there's not much we can do to speed up the test.
Therefore, we simply bump the timeout from 10s to 30s. This should give
DLM enough time to complete the downsampling mode change.
Note that `safeAwait` uses a timeout of 10s and `awaitClusterState` uses
a timeout of 30s; that's why there's no explicit timeout change.
Fixes #138135DataStreamLifecycleDownsampleIT.testUpdateDownsampleSamplingMode (#138174)1 parent f86f58f commit ab55d97
File tree
2 files changed
+1
-7
lines changed- x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample
2 files changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 456 | | |
460 | 457 | | |
461 | 458 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
352 | 351 | | |
353 | 352 | | |
354 | 353 | | |
355 | | - | |
| 354 | + | |
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
361 | | - | |
362 | 360 | | |
363 | 361 | | |
364 | 362 | | |
365 | | - | |
366 | 363 | | |
367 | 364 | | |
368 | 365 | | |
| |||
0 commit comments