Skip to content

Commit

Permalink
branch-3.0: [case](mtmv)Cannot compare the number of replicas to 1, a…
Browse files Browse the repository at this point in the history
…s the pipeline may force the number of replicas to be set #44417 (#44462)

Cherry-picked from #44417

Co-authored-by: zhangdong <[email protected]>
  • Loading branch information
github-actions[bot] and zddr authored Nov 22, 2024
1 parent eeda1ce commit ee7b8e3
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 ee7b8e3

Please sign in to comment.