File tree 2 files changed +6
-6
lines changed
src/test/java/org/elasticsearch/repositories/azure
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 28
28
import org .elasticsearch .common .settings .Settings ;
29
29
import org .elasticsearch .plugins .PluginsService ;
30
30
import org .elasticsearch .repositories .RepositoryMissingException ;
31
- import org .elasticsearch .test .store .MockDirectoryHelper ;
31
+ import org .elasticsearch .test .store .MockFSDirectoryService ;
32
32
import org .junit .After ;
33
33
import org .junit .Before ;
34
34
@@ -82,8 +82,8 @@ public Settings indexSettings() {
82
82
// During restore we frequently restore index to exactly the same state it was before, that might cause the same
83
83
// checksum file to be written twice during restore operation
84
84
return ImmutableSettings .builder ().put (super .indexSettings ())
85
- .put (MockDirectoryHelper .RANDOM_PREVENT_DOUBLE_WRITE , false )
86
- .put (MockDirectoryHelper .RANDOM_NO_DELETE_OPEN_FILE , false )
85
+ .put (MockFSDirectoryService .RANDOM_PREVENT_DOUBLE_WRITE , false )
86
+ .put (MockFSDirectoryService .RANDOM_NO_DELETE_OPEN_FILE , false )
87
87
.put (IndexMetaData .SETTING_NUMBER_OF_REPLICAS , 0 )
88
88
.build ();
89
89
}
Original file line number Diff line number Diff line change 41
41
import org .elasticsearch .snapshots .SnapshotMissingException ;
42
42
import org .elasticsearch .snapshots .SnapshotState ;
43
43
import org .elasticsearch .test .ElasticsearchIntegrationTest ;
44
- import org .elasticsearch .test .store .MockDirectoryHelper ;
44
+ import org .elasticsearch .test .store .MockFSDirectoryService ;
45
45
import org .junit .*;
46
46
47
47
import java .net .URISyntaxException ;
@@ -85,8 +85,8 @@ public Settings indexSettings() {
85
85
// During restore we frequently restore index to exactly the same state it was before, that might cause the same
86
86
// checksum file to be written twice during restore operation
87
87
return ImmutableSettings .builder ().put (super .indexSettings ())
88
- .put (MockDirectoryHelper .RANDOM_PREVENT_DOUBLE_WRITE , false )
89
- .put (MockDirectoryHelper .RANDOM_NO_DELETE_OPEN_FILE , false )
88
+ .put (MockFSDirectoryService .RANDOM_PREVENT_DOUBLE_WRITE , false )
89
+ .put (MockFSDirectoryService .RANDOM_NO_DELETE_OPEN_FILE , false )
90
90
.build ();
91
91
}
92
92
You can’t perform that action at this time.
0 commit comments