Skip to content

Commit 24a8c68

Browse files
committed
Fix conflicting MigrationBaseTestCase
Signed-off-by: Shivansh Arora <[email protected]>
1 parent e0ce7a2 commit 24a8c68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/internalClusterTest/java/org/opensearch/remotemigration/MigrationBaseTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected Settings nodeSettings(int nodeOrdinal) {
9292
return Settings.builder()
9393
.put(super.nodeSettings(nodeOrdinal))
9494
.put(extraSettings)
95-
.put(remoteStoreClusterSettings(REPOSITORY_NAME, segmentRepoPath, REPOSITORY_2_NAME, translogRepoPath))
95+
.put(remoteStoreClusterSettings(REPOSITORY_NAME, super.segmentRepoPath, REPOSITORY_2_NAME, super.translogRepoPath))
9696
.put(REMOTE_CLUSTER_STATE_ENABLED_SETTING.getKey(), true)
9797
.build();
9898
} else {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ public abstract class OpenSearchIntegTestCase extends OpenSearchTestCase {
412412
private ReplicationType randomReplicationType;
413413

414414
private String randomStorageType;
415-
private Path translogRepoPath;
416-
private Path segmentRepoPath;
415+
protected Path translogRepoPath;
416+
protected Path segmentRepoPath;
417417

418418
@BeforeClass
419419
public static void beforeClass() throws Exception {

0 commit comments

Comments
 (0)