Skip to content

Commit

Permalink
Fix flaky test. (opensearch-project#8441)
Browse files Browse the repository at this point in the history
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
  • Loading branch information
Rishikesh1159 authored and raghuvanshraj committed Jul 12, 2023
1 parent f5da98d commit 516b1d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public void testNodeDropWithOngoingReplication() throws Exception {
refresh(INDEX_NAME);
blockFileCopy.countDown();
internalCluster().stopRandomNode(InternalTestCluster.nameFilter(primaryNode));
ensureYellow(INDEX_NAME);
assertBusy(() -> { assertDocCounts(docCount, replicaNode); });
state = client().admin().cluster().prepareState().execute().actionGet().getState();
// replica now promoted as primary should have same allocation id
Expand Down

0 comments on commit 516b1d4

Please sign in to comment.