Skip to content

Commit

Permalink
[8.10] Tweaked DownsampleClusterDisruptionIT and (#99397)
Browse files Browse the repository at this point in the history
unmuted DownsampleClusterDisruptionIT.testDownsampleIndexWithRollingRestart() and
 DownsampleClusterDisruptionIT.testDownsampleIndexWithFullClusterRestart() tests

Backport of #98523 to 8.10 branch.

Relates to #98485
  • Loading branch information
martijnvg authored Sep 12, 2023
1 parent a3f4e42 commit 082350a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ public boolean validateClusterForming() {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/98485")
public void testDownsampleIndexWithRollingRestart() throws Exception {
try (InternalTestCluster cluster = internalCluster()) {
final List<String> masterNodes = cluster.startMasterOnlyNodes(1);
Expand Down Expand Up @@ -296,11 +295,10 @@ private void startDownsampleTaskDuringDisruption(
} catch (Exception e) {
throw new AssertionError(e);
}
}, 60, TimeUnit.SECONDS);
}, 120, TimeUnit.SECONDS);
disruptionEnd.await();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/98485")
public void testDownsampleIndexWithFullClusterRestart() throws Exception {
try (InternalTestCluster cluster = internalCluster()) {
final List<String> masterNodes = cluster.startMasterOnlyNodes(1);
Expand Down Expand Up @@ -428,7 +426,7 @@ private void downsample(final String sourceIndex, final String downsampleIndex,
assertAcked(
internalCluster().client()
.execute(DownsampleAction.INSTANCE, new DownsampleAction.Request(sourceIndex, downsampleIndex, TIMEOUT, config))
.actionGet()
.actionGet(TIMEOUT.millis())
);
}

Expand Down

0 comments on commit 082350a

Please sign in to comment.