Skip to content

Commit

Permalink
Fix testIsSegmentReplicationAllowed_WrongEngineType.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <[email protected]>
  • Loading branch information
mch2 committed Jan 6, 2023
1 parent c87c641 commit d22f9ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void testReplicationCheckpointNotNullForSegRep() throws IOException {
}

public void testIsSegmentReplicationAllowed_WrongEngineType() throws IOException {
final IndexShard indexShard = newStartedShard(false, settings, new InternalEngineFactory());
final IndexShard indexShard = newShard(false, settings, new InternalEngineFactory());
assertFalse(indexShard.isSegmentReplicationAllowed());
closeShards(indexShard);
}
Expand Down

0 comments on commit d22f9ac

Please sign in to comment.