From 15e0ad8ab3cc9947cbab4355712a4bb37d2b9eec Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Fri, 6 Jan 2023 16:08:40 -0800 Subject: [PATCH] [Segment Replication] Mute flaky tests Signed-off-by: Suraj Singh --- .../org/opensearch/indices/replication/SegmentReplicationIT.java | 1 + .../indices/replication/SegmentReplicationRelocationIT.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 0d8082da00cd0..43bbb81b7a046 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationIT.java @@ -156,6 +156,7 @@ public void testPrimaryStopped_ReplicaPromoted() throws Exception { assertSegmentStats(REPLICA_COUNT); } + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5669") public void testRestartPrimary() throws Exception { final String primary = internalCluster().startNode(featureFlagSettings()); createIndex(INDEX_NAME); diff --git a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java index 23f5d386aa864..19cd296e30eac 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java @@ -55,6 +55,7 @@ private void createIndex() { * This test verifies happy path when primary shard is relocated newly added node (target) in the cluster. Before * relocation and after relocation documents are indexed and documents are verified */ + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5669") public void testPrimaryRelocation() throws Exception { final String oldPrimary = internalCluster().startNode(featureFlagSettings()); createIndex();