Skip to content

Commit 6b6a0a2

Browse files
authored
add TestIssueLogging on flaky test - org.opensearch.remotestore.RemoteStoreRestoreIT.testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown (opensearch-project#13489)
* add TestIssueLogging on flaky test - org.opensearch.remotestore.RemoteStoreRestoreIT.testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown Signed-off-by: Varun Bansal <bansvaru@amazon.com>
1 parent a228dfc commit 6b6a0a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreRestoreIT.java

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.opensearch.repositories.fs.ReloadableFsRepository;
2828
import org.opensearch.test.InternalTestCluster;
2929
import org.opensearch.test.OpenSearchIntegTestCase;
30+
import org.opensearch.test.junit.annotations.TestIssueLogging;
3031

3132
import java.io.IOException;
3233
import java.nio.file.Path;
@@ -91,6 +92,7 @@ public void testRTSRestoreWithNoDataPostCommitPrimaryReplicaDown() throws Except
9192
* Simulates all data restored using Remote Translog Store.
9293
* @throws IOException IO Exception.
9394
*/
95+
@TestIssueLogging(value = "_root:TRACE", issueUrl = "https://github.com/opensearch-project/OpenSearch/issues/11085")
9496
public void testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown() throws Exception {
9597
testRestoreFlowBothPrimaryReplicasDown(1, false, true, randomIntBetween(1, 5));
9698
}

0 commit comments

Comments
 (0)