File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
server/src/internalClusterTest/java/org/opensearch/gateway/remote
test/framework/src/main/java/org/opensearch/test Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 14
14
import org .opensearch .remotemigration .MigrationBaseTestCase ;
15
15
import org .opensearch .remotestore .multipart .mocks .MockFsRepositoryPlugin ;
16
16
import org .opensearch .repositories .blobstore .BlobStoreRepository ;
17
+ import org .opensearch .repositories .fs .FsRepository ;
17
18
import org .opensearch .repositories .fs .ReloadableFsRepository ;
18
19
import org .opensearch .test .InternalSettingsPlugin ;
19
20
import org .opensearch .test .OpenSearchIntegTestCase ;
@@ -115,7 +116,7 @@ public Settings.Builder remoteWithRoutingTableNodeSetting() {
115
116
segmentRepoPath ,
116
117
REPOSITORY_2_NAME ,
117
118
translogRepoPath ,
118
- REPOSITORY_NAME ,
119
+ ROUTING_TABLE_REPO_NAME ,
119
120
segmentRepoPath ,
120
121
false
121
122
)
@@ -196,6 +197,7 @@ public void testRemoteNodeWithRoutingTableJoinRemoteCluster() throws Exception {
196
197
197
198
// Remote Repo with Routing table
198
199
Settings settings = remoteWithRoutingTableNodeSetting ().build ();
200
+
199
201
internalCluster ().startClusterManagerOnlyNode (settings );
200
202
ensureStableCluster (4 );
201
203
ensureGreen ();
@@ -285,10 +287,13 @@ public void testRemoteNodeWithRoutingTableJoiningPublishConfigCluster() throws E
285
287
buildRemoteStoreNodeAttributes (
286
288
REPOSITORY_NAME ,
287
289
segmentRepoPath ,
290
+ ReloadableFsRepository .TYPE ,
288
291
REPOSITORY_2_NAME ,
289
292
translogRepoPath ,
293
+ FsRepository .TYPE ,
290
294
ROUTING_TABLE_REPO_NAME ,
291
295
segmentRepoPath ,
296
+ ReloadableFsRepository .TYPE ,
292
297
false
293
298
)
294
299
)
Original file line number Diff line number Diff line change @@ -2838,7 +2838,7 @@ private static Settings buildRemoteStoreNodeAttributes(
2838
2838
);
2839
2839
}
2840
2840
2841
- private static Settings buildRemoteStoreNodeAttributes (
2841
+ protected static Settings buildRemoteStoreNodeAttributes (
2842
2842
String segmentRepoName ,
2843
2843
Path segmentRepoPath ,
2844
2844
String segmentRepoType ,
You can’t perform that action at this time.
0 commit comments