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) (opensearch-project#9375)

(cherry picked from commit 57659f7)

Signed-off-by: Marc Handalian <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent b8434cf commit 2669362
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 @@ -68,4 +68,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 @@ -246,6 +246,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 2669362

Please sign in to comment.