Skip to content

Commit

Permalink
add TestIssueLogging on flaky test - org.opensearch.remotestore.Remot…
Browse files Browse the repository at this point in the history
…eStoreRestoreIT.testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown (opensearch-project#13489)

* add TestIssueLogging on flaky test - org.opensearch.remotestore.RemoteStoreRestoreIT.testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown

Signed-off-by: Varun Bansal <[email protected]>
  • Loading branch information
linuxpi authored May 7, 2024
1 parent a228dfc commit 6b6a0a2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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/opensearch-project/OpenSearch/issues/11085")
public void testRTSRestoreWithNoDataPostRefreshPrimaryReplicaDown() throws Exception {
testRestoreFlowBothPrimaryReplicasDown(1, false, true, randomIntBetween(1, 5));
}
Expand Down

0 comments on commit 6b6a0a2

Please sign in to comment.