From 140829a8866c16166e63b10a90da262dfc060433 Mon Sep 17 00:00:00 2001 From: Rishikesh Pasham <62345295+Rishikesh1159@users.noreply.github.com> Date: Wed, 8 Feb 2023 20:20:33 -0800 Subject: [PATCH] Mutle Flaky Test and add segment_replication.json as experimental (#6256) Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> --- .../resources/rest-api-spec/api/cat.segment_replication.json | 2 +- .../java/org/opensearch/action/admin/ClientTimeoutIT.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segment_replication.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segment_replication.json index 3c2195c7765a0..0b1c65e551d63 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segment_replication.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segment_replication.json @@ -4,7 +4,7 @@ "url":"https://github.com/opensearch-project/documentation-website/issues/2627", "description":"Returns information about both on-going and latest completed Segment Replication events" }, - "stability":"stable", + "stability":"experimental", "url":{ "paths":[ { diff --git a/server/src/internalClusterTest/java/org/opensearch/action/admin/ClientTimeoutIT.java b/server/src/internalClusterTest/java/org/opensearch/action/admin/ClientTimeoutIT.java index 356db8b919a85..61a8b01df08b8 100644 --- a/server/src/internalClusterTest/java/org/opensearch/action/admin/ClientTimeoutIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/action/admin/ClientTimeoutIT.java @@ -152,6 +152,7 @@ public void testRecoveriesWithTimeout() { assertThat(recoveryResponse.getShardFailures()[0].reason(), containsString("ReceiveTimeoutTransportException")); } + @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/6255") public void testSegmentReplicationStatsWithTimeout() { internalCluster().startClusterManagerOnlyNode( Settings.builder().put(super.featureFlagSettings()).put(FeatureFlags.REPLICATION_TYPE, "true").build()