Skip to content

Commit a64284d

Browse files
committed
fixing the test after rebase
Signed-off-by: Rajiv Kumar Vaidyanathan <[email protected]>
1 parent 718f7bb commit a64284d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

server/src/internalClusterTest/java/org/opensearch/gateway/remote/RemoteRepositoryConfigurationIT.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.opensearch.remotemigration.MigrationBaseTestCase;
1515
import org.opensearch.remotestore.multipart.mocks.MockFsRepositoryPlugin;
1616
import org.opensearch.repositories.blobstore.BlobStoreRepository;
17+
import org.opensearch.repositories.fs.FsRepository;
1718
import org.opensearch.repositories.fs.ReloadableFsRepository;
1819
import org.opensearch.test.InternalSettingsPlugin;
1920
import org.opensearch.test.OpenSearchIntegTestCase;
@@ -115,7 +116,7 @@ public Settings.Builder remoteWithRoutingTableNodeSetting() {
115116
segmentRepoPath,
116117
REPOSITORY_2_NAME,
117118
translogRepoPath,
118-
REPOSITORY_NAME,
119+
ROUTING_TABLE_REPO_NAME,
119120
segmentRepoPath,
120121
false
121122
)
@@ -196,6 +197,7 @@ public void testRemoteNodeWithRoutingTableJoinRemoteCluster() throws Exception {
196197

197198
// Remote Repo with Routing table
198199
Settings settings = remoteWithRoutingTableNodeSetting().build();
200+
199201
internalCluster().startClusterManagerOnlyNode(settings);
200202
ensureStableCluster(4);
201203
ensureGreen();
@@ -285,10 +287,13 @@ public void testRemoteNodeWithRoutingTableJoiningPublishConfigCluster() throws E
285287
buildRemoteStoreNodeAttributes(
286288
REPOSITORY_NAME,
287289
segmentRepoPath,
290+
ReloadableFsRepository.TYPE,
288291
REPOSITORY_2_NAME,
289292
translogRepoPath,
293+
FsRepository.TYPE,
290294
ROUTING_TABLE_REPO_NAME,
291295
segmentRepoPath,
296+
ReloadableFsRepository.TYPE,
292297
false
293298
)
294299
)

test/framework/src/main/java/org/opensearch/test/OpenSearchIntegTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ private static Settings buildRemoteStoreNodeAttributes(
28382838
);
28392839
}
28402840

2841-
private static Settings buildRemoteStoreNodeAttributes(
2841+
protected static Settings buildRemoteStoreNodeAttributes(
28422842
String segmentRepoName,
28432843
Path segmentRepoPath,
28442844
String segmentRepoType,

0 commit comments

Comments
 (0)