yujun777 opened a new pull request, #37544:
URL: https://github.com/apache/doris/pull/37544

   FIX:
   
   ```
   Exception in alter_p2/test_alter_colocate_group.groovy(line 130):
   
   def checkGroupsReplicaAlloc = { groupName, replicaNum ->
   // groupName -> replicaAlloc
   def allocMap = [:]
   def groups = sql """ show proc "/colocation_group" """
   for (def group : groups)
   
   { allocMap[group[1]] = group[4] }
   assertEquals("tag.location.default: ${replicaNum}".toString(), 
allocMap[groupName])
   ^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^
   }
   
   def checkTableReplicaAlloc = { tableName, hasDynamicPart, replicaNum ->
   def result = sql """ show create table ${tableName} """
   def createTbl = result[0][1].toString()
   assertTrue(createTbl.indexOf("\"replication_allocation\" = 
\"tag.location.default: ${replicaNum}\"") > 0)
   if (hasDynamicPart) {
   assertTrue(createTbl.indexOf(
   "\"dynamic_partition.replication_allocation\" = \"tag.location.default: 
${replicaNum}\"") > 0)
   }
   
   Exception:
   org.opentest4j.AssertionFailedError: expected: <tag.location.default: 1> but 
was: <tag.location.default: 3>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to