From c5126d4b9e5d11e4e2099f6e49b1947f7bde5653 Mon Sep 17 00:00:00 2001 From: Shubh Sahu Date: Mon, 22 Jul 2024 12:19:18 +0530 Subject: [PATCH] Updating IT with correct migration setting Signed-off-by: Shubh Sahu --- build.gradle | 5 +---- .../opensearch/replication/integ/rest/StartReplicationIT.kt | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index e862827b..c6658dd5 100644 --- a/build.gradle +++ b/build.gradle @@ -380,8 +380,6 @@ testClusters { testDistribution = "ARCHIVE" } int debugPort = 5005 - //adding it to test migration - systemProperty('opensearch.experimental.feature.remote_store.migration.enabled','true') if (_numNodes > 1) numberOfNodes = _numNodes //numberOfNodes = 3 @@ -940,8 +938,7 @@ task integTestRemote (type: RestIntegTestTask) { } filter { - setExcludePatterns("org.opensearch.replication.bwc.BackwardsCompatibilityIT","org.opensearch.replication.singleCluster.SingleClusterSanityIT", - "org.opensearch.replication.integ.rest.StartReplicationIT.test operations are fetched from lucene when leader is in mixed mode") + setExcludePatterns("org.opensearch.replication.bwc.BackwardsCompatibilityIT","org.opensearch.replication.singleCluster.SingleClusterSanityIT") } } diff --git a/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt b/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt index a0238b93..685eddc6 100644 --- a/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt +++ b/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt @@ -1278,8 +1278,8 @@ class StartReplicationIT: MultiClusterRestTestCase() { val entityAsString = """ { "persistent": { - "remote_store.compatibility_mode": "mixed", - "migration.direction" : "remote_store" + "cluster.remote_store.compatibility_mode": "mixed", + "cluster.migration.direction" : "remote_store" } }""".trimMargin()