Skip to content

Commit e53a9be

Browse files
committed
Fix compilation error in IndexShardIT after merge with master
1 parent cae4155 commit e53a9be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/src/test/java/org/elasticsearch/index/shard/IndexShardIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -931,8 +931,7 @@ public void testNoOpEngineFactoryTakesPrecedence() throws IOException {
931931

932932
final IndexService indexService = indicesService.createIndex(indexMetaData, Collections.emptyList());
933933
try {
934-
final IndexShard indexShard = indexService.createShard(routing, id -> {
935-
});
934+
final IndexShard indexShard = indexService.createShard(routing, id -> {}, (s, leases, listener) -> {});
936935
indexShard.markAsRecovering("store", new RecoveryState(indexShard.routingEntry(), node, null));
937936
indexShard.recoverFromStore();
938937
assertThat(indexShard.getEngine(), instanceOf(NoOpEngine.class));

0 commit comments

Comments
 (0)