Skip to content

Commit 3bbea57

Browse files
author
Andrey Ershov
committed
Use fs repository
1 parent 94e60dd commit 3bbea57

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

server/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreIT.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,11 +1345,7 @@ public void testGetSnapshotsMultipleRepos() {
13451345
final Path repoPath = randomRepoPath();
13461346
logger.info("--> create repository with name " + repoName);
13471347
assertAcked(client.admin().cluster().preparePutRepository(repoName)
1348-
.setType("mock").setSettings(Settings.builder()
1349-
.put("location", repoPath)
1350-
.put("compress", false)
1351-
.put("chunk_size", randomIntBetween(100, 1000), ByteSizeUnit.BYTES)
1352-
.put("wait_after_unblock", 200)));
1348+
.setType("fs").setSettings(Settings.builder().put("location", repoPath).build()));
13531349
List<String> snapshotNames = new ArrayList<>();
13541350
repo2SnapshotNames.put(repoName, snapshotNames);
13551351

0 commit comments

Comments
 (0)