Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
Signed-off-by: Ankit Kala <ankikala@amazon.com>
  • Loading branch information
ankitkala committed Aug 29, 2023
1 parent 174b589 commit 5aace0a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public void testFailStaleReplicaTaskDisabled() throws Exception {
shards.startAll();
final IndexShard primaryShard = shards.getPrimary();
SegmentReplicationPressureService service = buildPressureService(settings, primaryShard);
Mockito.reset(shardStateAction);

// index docs in batches without refreshing
indexInBatches(5, shards, primaryShard);
Expand Down

0 comments on commit 5aace0a

Please sign in to comment.