Skip to content

Commit

Permalink
fixing the test after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Kumar Vaidyanathan <[email protected]>
  • Loading branch information
rajiv-kv committed Nov 12, 2024
1 parent 718f7bb commit a64284d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import org.opensearch.remotemigration.MigrationBaseTestCase;
import org.opensearch.remotestore.multipart.mocks.MockFsRepositoryPlugin;
import org.opensearch.repositories.blobstore.BlobStoreRepository;
import org.opensearch.repositories.fs.FsRepository;
import org.opensearch.repositories.fs.ReloadableFsRepository;
import org.opensearch.test.InternalSettingsPlugin;
import org.opensearch.test.OpenSearchIntegTestCase;
Expand Down Expand Up @@ -115,7 +116,7 @@ public Settings.Builder remoteWithRoutingTableNodeSetting() {
segmentRepoPath,
REPOSITORY_2_NAME,
translogRepoPath,
REPOSITORY_NAME,
ROUTING_TABLE_REPO_NAME,
segmentRepoPath,
false
)
Expand Down Expand Up @@ -196,6 +197,7 @@ public void testRemoteNodeWithRoutingTableJoinRemoteCluster() throws Exception {

// Remote Repo with Routing table
Settings settings = remoteWithRoutingTableNodeSetting().build();

internalCluster().startClusterManagerOnlyNode(settings);
ensureStableCluster(4);
ensureGreen();
Expand Down Expand Up @@ -285,10 +287,13 @@ public void testRemoteNodeWithRoutingTableJoiningPublishConfigCluster() throws E
buildRemoteStoreNodeAttributes(
REPOSITORY_NAME,
segmentRepoPath,
ReloadableFsRepository.TYPE,
REPOSITORY_2_NAME,
translogRepoPath,
FsRepository.TYPE,
ROUTING_TABLE_REPO_NAME,
segmentRepoPath,
ReloadableFsRepository.TYPE,
false
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@ private static Settings buildRemoteStoreNodeAttributes(
);
}

private static Settings buildRemoteStoreNodeAttributes(
protected static Settings buildRemoteStoreNodeAttributes(
String segmentRepoName,
Path segmentRepoPath,
String segmentRepoType,
Expand Down

0 comments on commit a64284d

Please sign in to comment.