From 2b9829673fdab3d2214a5ba30ce4e7f86b2c2cdc Mon Sep 17 00:00:00 2001 From: Varun Bansal Date: Wed, 1 May 2024 23:29:05 +0530 Subject: [PATCH 1/5] add TestIssueLogging on flaky test - org.opensearch.remotestore.RemoteStoreRestoreIT.testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown Signed-off-by: Varun Bansal --- .../java/org/opensearch/remotestore/RemoteStoreRestoreIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java index 94acf2b1dbb27..bdfadd979de64 100644 --- a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java @@ -27,6 +27,7 @@ import org.opensearch.repositories.fs.ReloadableFsRepository; import org.opensearch.test.InternalTestCluster; import org.opensearch.test.OpenSearchIntegTestCase; +import org.opensearch.test.junit.annotations.TestIssueLogging; import java.io.IOException; import java.nio.file.Path; @@ -91,6 +92,7 @@ public void testRTSRestoreWithNoDataPostCommitPrimaryReplicaDown() throws Except * Simulates all data restored using Remote Translog Store. * @throws IOException IO Exception. */ + @TestIssueLogging(value = "_root:TRACE", issueUrl = "https://github.com/elastic/elasticsearch/issues/11085") public void testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown() throws Exception { testRestoreFlowBothPrimaryReplicasDown(1, false, true, randomIntBetween(1, 5)); } From e3576561bdd54d7e3ef1fb9dfcf262f92ee23a74 Mon Sep 17 00:00:00 2001 From: Varun Bansal Date: Thu, 2 May 2024 16:16:56 +0530 Subject: [PATCH 2/5] Empty Commit Signed-off-by: Varun Bansal From bb3c70751b4b72f2ff788e7d66c332987a19370d Mon Sep 17 00:00:00 2001 From: Varun Bansal Date: Thu, 2 May 2024 22:36:26 +0530 Subject: [PATCH 3/5] Empty Commit Signed-off-by: Varun Bansal From e89dbdcdc4a93b86a7a8bac956560ad6c7f30d28 Mon Sep 17 00:00:00 2001 From: Varun Bansal Date: Sat, 4 May 2024 16:31:17 +0530 Subject: [PATCH 4/5] correct issue link Signed-off-by: Varun Bansal --- .../java/org/opensearch/remotestore/RemoteStoreRestoreIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java index bdfadd979de64..1ca9a6f9d9b1c 100644 --- a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java @@ -92,7 +92,7 @@ public void testRTSRestoreWithNoDataPostCommitPrimaryReplicaDown() throws Except * Simulates all data restored using Remote Translog Store. * @throws IOException IO Exception. */ - @TestIssueLogging(value = "_root:TRACE", issueUrl = "https://github.com/elastic/elasticsearch/issues/11085") + @TestIssueLogging(value = "_root:TRACE", issueUrl = "https://github.com/opensearch-project/OpenSearch/issues/11085") public void testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown() throws Exception { testRestoreFlowBothPrimaryReplicasDown(1, false, true, randomIntBetween(1, 5)); } From e1466b5a86c708a00ab20777caccaf9bdfee9517 Mon Sep 17 00:00:00 2001 From: Varun Bansal Date: Sat, 4 May 2024 18:18:56 +0530 Subject: [PATCH 5/5] Empty Commit Signed-off-by: Varun Bansal