Skip to content

Commit

Permalink
Tweaked DownsampleClusterDisruptionIT and (elastic#98523)
Browse files Browse the repository at this point in the history
unmuted DownsampleClusterDisruptionIT.testDownsampleIndexWithRollingRestart() and
 DownsampleClusterDisruptionIT.testDownsampleIndexWithFullClusterRestart() tests

Relates to elastic#98485
  • Loading branch information
martijnvg committed Sep 11, 2023
1 parent 3c916d8 commit 402561b
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 402561b

Please sign in to comment.