You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/index/store/SearchableSnapshotDirectory.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshots.java
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsIntegTests.java
+23-4Lines changed: 23 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@
36
36
37
37
importjava.nio.file.Path;
38
38
importjava.util.ArrayList;
39
+
importjava.util.Arrays;
39
40
importjava.util.Collection;
40
41
importjava.util.Collections;
41
42
importjava.util.List;
@@ -122,12 +123,23 @@ public void testCreateAndRestoreSearchableSnapshot() throws Exception {
122
123
finalbooleancacheEnabled = randomBoolean();
123
124
logger.info("--> restoring index [{}] with cache [{}]", restoredIndexName, cacheEnabled ? "enabled" : "disabled");
Copy file name to clipboardExpand all lines: x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/xpack/searchablesnapshots/cache/TestUtils.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,11 @@ public InputStream readBlob(String name, long position, long length) throws IOEx
0 commit comments