Skip to content

Commit

Permalink
Mute remote store + segRep flaky tests that frequently block checks. (o…
Browse files Browse the repository at this point in the history
…pensearch-project#9366)

Signed-off-by: Marc Handalian <handalm@amazon.com>
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
  • Loading branch information
mch2 authored and kaushalmahi12 committed Sep 12, 2023
1 parent e08783f commit 82554fe
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public void testWritesRejected() throws Exception {
* This test ensures that a replica can be added while the index is under write block.
* Ensuring that only write requests are blocked.
*/
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/8887")
public void testAddReplicaWhileWritesBlocked() throws Exception {
final String primaryNode = internalCluster().startNode();
createIndex(INDEX_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@ protected Settings featureFlagSettings() {
.put(FeatureFlags.SEGMENT_REPLICATION_EXPERIMENTAL, "true")
.build();
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/9191")
public void testPrimaryRelocationWhileIndexing() throws Exception {
super.testPrimaryRelocationWhileIndexing();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ private void testRestoreWithMergeFlow(int numberOfIterations, boolean invokeFlus
// Following integ tests use randomBoolean to control the number of integ tests. If we use the separate
// values for each of the flags, number of integ tests become 16 in comparison to current 2.
// We have run all the 16 tests on local and they run fine.
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/9294")
public void testRestoreForceMergeSingleIteration() throws IOException {
boolean invokeFLush = randomBoolean();
boolean flushAfterMerge = randomBoolean();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ private void verifyRemoteStoreCleanup() throws Exception {
}, 30, TimeUnit.SECONDS);
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/9327")
public void testRemoteTranslogCleanup() throws Exception {
verifyRemoteStoreCleanup();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@ public void teardown() {
public void testPressureServiceStats() throws Exception {
super.testPressureServiceStats();
}

@Override
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/8059")
public void testDropPrimaryDuringReplication() throws Exception {
super.testDropPrimaryDuringReplication();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public void testAlreadyOnNewCheckpoint() {
verify(spy, times(0)).startReplication(any(), any(), any());
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/8928")
public void testShardAlreadyReplicating() {
CountDownLatch blockGetCheckpointMetadata = new CountDownLatch(1);
SegmentReplicationSource source = new TestReplicationSource() {
Expand Down

0 comments on commit 82554fe

Please sign in to comment.