From c4399042519b3e77cf4856963ee32001f4d3e70e Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Wed, 4 Jan 2023 10:30:47 -0800 Subject: [PATCH] Muting flaky SegmentReplication ITs. Signed-off-by: Marc Handalian --- .../org/opensearch/indices/replication/SegmentReplicationIT.java | 1 + .../org/opensearch/snapshots/SegmentReplicationSnapshotIT.java | 1 + 2 files changed, 2 insertions(+) diff --git a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java index b2ebcb9aca30e..54bd9d7d0b444 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java @@ -270,6 +270,7 @@ public void testAddNewReplicaFailure() throws Exception { assertFalse(indicesService.hasIndex(resolveIndex(INDEX_NAME))); } + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5669") public void testReplicationAfterPrimaryRefreshAndFlush() throws Exception { final String nodeA = internalCluster().startNode(featureFlagSettings()); final String nodeB = internalCluster().startNode(featureFlagSettings()); diff --git a/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java b/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java index 11c8cf21ac66e..a741797012602 100644 --- a/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java @@ -165,6 +165,7 @@ public void testRestoreOnSegRep() throws Exception { assertHitCount(resp, DOC_COUNT); } + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5669") public void testSnapshotOnSegRep_RestoreOnSegRepDuringIngestion() throws Exception { startClusterWithSettings(segRepEnableIndexSettings(), 1); createSnapshot();