[Chore](case) log out show alter table info on no_await (#27926)
log out show alter table info on no_await
This commit is contained in:
@ -27,10 +27,10 @@ suite ("no_await") {
|
||||
while (!result.contains("FINISHED")) {
|
||||
result = (sql "SHOW ALTER TABLE MATERIALIZED VIEW WHERE TableName='${tblName}' ORDER BY CreateTime DESC LIMIT 1;")[0]
|
||||
if (!result.contains("RUNNING")&&!result.contains("PENDING")&&!result.contains("FINISHED")&&!result.contains("WAITING_TXN")) {
|
||||
log.info("result: ${result}")
|
||||
assertTrue(false)
|
||||
}
|
||||
Thread.sleep(1100)
|
||||
log.info("result: ${result}")
|
||||
Thread.sleep(3000)
|
||||
try_times -= 1
|
||||
assertTrue(try_times > 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user