Skip to content

Commit

Permalink
[case](mtmv)Cannot compare the number of replicas to 1, as the pipeli…
Browse files Browse the repository at this point in the history
…ne may force the number of replicas to be set (apache#44417)
  • Loading branch information
zddr authored Nov 22, 2024
1 parent 5edc7f9 commit 127e597
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regression-test/suites/mtmv_p0/test_mtmv_property.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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"'))
Expand Down

0 comments on commit 127e597

Please sign in to comment.