Skip to content

Commit 38c1882

Browse files
committed
Bring the timeouts closer to the original
1 parent 0caf4dd commit 38c1882

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DataStreamLifecycleDownsampleDisruptionIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ public void testDataStreamLifecycleDownsampleRollingRestart() throws Exception {
9797
ensureDownsamplingStatus(
9898
targetIndex,
9999
Set.of(IndexMetadata.DownsampleTaskStatus.STARTED, IndexMetadata.DownsampleTaskStatus.SUCCESS),
100-
TimeValue.timeValueSeconds(5)
100+
TimeValue.timeValueMillis(4500)
101101
);
102102

103103
logger.info("-> Starting the disruption.");
104104
internalCluster().rollingRestart(new InternalTestCluster.RestartCallback() {
105105
});
106106

107-
ensureDownsamplingStatus(targetIndex, Set.of(IndexMetadata.DownsampleTaskStatus.SUCCESS), TimeValue.timeValueMinutes(2));
107+
ensureDownsamplingStatus(targetIndex, Set.of(IndexMetadata.DownsampleTaskStatus.SUCCESS), TimeValue.timeValueSeconds(120));
108108
ensureGreen(targetIndex);
109109
logger.info("-> Relocation has finished");
110110
}

0 commit comments

Comments
 (0)