Skip to content

Commit

Permalink
Tweaked DownsampleClusterDisruptionIT and
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 Aug 16, 2023
1 parent 74fbabb commit c60d384
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 c60d384

Please sign in to comment.