[regression-test](fix) fix regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy bug (#46050)
This commit is contained in:
@ -167,21 +167,6 @@ suite ("test_uniq_mv_schema_change") {
|
||||
// compaction
|
||||
trigger_and_wait_compaction(tableName, "cumulative")
|
||||
|
||||
// wait for all compactions done
|
||||
for (String[] tablet in tablets) {
|
||||
boolean running = true
|
||||
do {
|
||||
Thread.sleep(100)
|
||||
String tablet_id = tablet[0]
|
||||
backend_id = tablet[2]
|
||||
def (code, out, err) = be_get_compaction_status(backendId_to_backendIP.get(backend_id), backendId_to_backendHttpPort.get(backend_id), tablet_id)
|
||||
logger.info("Get compaction status: code=" + code + ", out=" + out + ", err=" + err)
|
||||
assertEquals(code, 0)
|
||||
def compactionStatus = parseJson(out.trim())
|
||||
assertEquals("success", compactionStatus.status.toLowerCase())
|
||||
running = compactionStatus.run_status
|
||||
} while (running)
|
||||
}
|
||||
qt_sc """ select count(*) from ${tableName} """
|
||||
|
||||
qt_sc """ SELECT * FROM ${tableName} WHERE user_id=2 """
|
||||
|
||||
Reference in New Issue
Block a user