Skip to content

Commit db2713b

Browse files
committed
Fixed compile errors and test failures after merging master into ccr.
1 parent 9da3e73 commit db2713b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3001,7 +3001,7 @@ public void testFlushOnInactive() throws Exception {
30013001
ShardPath shardPath = new ShardPath(false, nodePath.resolve(shardId), nodePath.resolve(shardId), shardId);
30023002
AtomicBoolean markedInactive = new AtomicBoolean();
30033003
AtomicReference<IndexShard> primaryRef = new AtomicReference<>();
3004-
IndexShard primary = newShard(shardRouting, shardPath, metaData, null, null, () -> {
3004+
IndexShard primary = newShard(shardRouting, shardPath, metaData, null, new InternalEngineFactory(), () -> {
30053005
}, new IndexEventListener() {
30063006
@Override
30073007
public void onShardInactive(IndexShard indexShard) {

0 commit comments

Comments
 (0)