Skip to content

Commit

Permalink
Fix compilation error in IndexShardIT after merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrx committed Jan 30, 2019
1 parent cae4155 commit e53a9be
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,7 @@ public void testNoOpEngineFactoryTakesPrecedence() throws IOException {

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

0 comments on commit e53a9be

Please sign in to comment.