From 69452f5afbc6d75f3120cc592b3c5fc580704a6c Mon Sep 17 00:00:00 2001 From: zhangdong Date: Thu, 21 Nov 2024 18:35:03 +0800 Subject: [PATCH] 1 --- regression-test/suites/mtmv_p0/test_mtmv_property.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regression-test/suites/mtmv_p0/test_mtmv_property.groovy b/regression-test/suites/mtmv_p0/test_mtmv_property.groovy index e0ffbca8dbf63c..4104f1480e88b7 100644 --- a/regression-test/suites/mtmv_p0/test_mtmv_property.groovy +++ b/regression-test/suites/mtmv_p0/test_mtmv_property.groovy @@ -60,7 +60,8 @@ suite("test_mtmv_property","mtmv") { def showCreateTableResult = sql """show create materialized view ${mvName}""" logger.info("showCreateTableResult: " + showCreateTableResult.toString()) - assertTrue(showCreateTableResult.toString().contains('tag.location.default: 1')) + // Cannot compare the number of replicas to 1, as the pipeline may force the number of replicas to be set + assertTrue(showCreateTableResult.toString().contains('tag.location.default:')) assertTrue(showCreateTableResult.toString().contains('"min_load_replica_num" = "-1"')) assertTrue(showCreateTableResult.toString().contains('"storage_medium" = "hdd"')) assertTrue(showCreateTableResult.toString().contains('"store_row_column" = "true"'))