From af9bab9b927195a2f7003f8dcd3266ff5fa5cf67 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 (cherry picked from commit 2e04b0e4efb4b8e2022464f3cad2f1f28ce71b81) --- 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 c1bc7a9f..f884be86 100644 --- a/build.gradle +++ b/build.gradle @@ -381,8 +381,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 @@ -939,8 +937,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 f124f373..5b927220 100644 --- a/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt +++ b/src/test/kotlin/org/opensearch/replication/integ/rest/StartReplicationIT.kt @@ -1279,8 +1279,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()