Skip to content

Commit

Permalink
[chore](test) enlarge timeout of mv creating
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jul 15, 2024
1 parent 01f00aa commit 4c7ca61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class CreateMVAction implements SuiteAction {
def tmp = doRun("SHOW ALTER TABLE MATERIALIZED VIEW ORDER BY CreateTime DESC LIMIT 1;")
sqlResult = tmp.result[0]
log.info("result: ${sqlResult}".toString())
if (tryTimes == 120 || sqlResult.contains("CANCELLED")) {
if (tryTimes == 600 || sqlResult.contains("CANCELLED")) {
throw new IllegalStateException("MV create check times over limit, result='${sqlResult}'");
}
Thread.sleep(1200)
Expand Down

0 comments on commit 4c7ca61

Please sign in to comment.