Skip to content

Commit ef18352

Browse files
committed
Fix compilation issues after merging master
1 parent e23974b commit ef18352

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
import java.util.List;
7777
import java.util.Map;
7878

79+
import static java.util.Collections.emptyMap;
7980
import static org.hamcrest.Matchers.equalTo;
8081
import static org.hamcrest.Matchers.hasSize;
8182

@@ -340,7 +341,7 @@ private void testDirectories(final CheckedBiConsumer<Directory, Directory, Excep
340341
final PlainActionFuture<String> future = PlainActionFuture.newFuture();
341342
threadPool.generic().submit(() -> {
342343
IndexShardSnapshotStatus snapshotStatus = IndexShardSnapshotStatus.newInitializing(null);
343-
repository.snapshotShard(store, null, snapshotId, indexId, indexCommit, snapshotStatus, true, future);
344+
repository.snapshotShard(store, null, snapshotId, indexId, indexCommit, snapshotStatus, true, emptyMap(), future);
344345
future.actionGet();
345346
});
346347
future.actionGet();

0 commit comments

Comments
 (0)