[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:
Pxl
2023-12-04 14:30:16 +08:00
committed by GitHub
parent 2b715924c5
commit e196a4fd8f

View File

@ -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)
}