Skip to content

Commit

Permalink
[fix](regression) fix test_group_commit_timeout failed due to differe…
Browse files Browse the repository at this point in the history
…nt error message (apache#38995)

the case is failed:
```
(test_group_commit_timeout.groovy:48) - failed errCode = 2, detailMessage = query is timeout, killed by timeout checker
```
  • Loading branch information
mymeiyi authored and wyxxxcat committed Aug 14, 2024
1 parent 552fb2c commit 26a8089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ suite("test_group_commit_timeout", "nonConcurrent") {
} catch (Exception e) {
long end = System.currentTimeMillis()
logger.info("failed " + e.getMessage())
assertTrue(e.getMessage().contains("FragmentMgr cancel worker going to cancel timeout instance") || e.getMessage().contains("Execute timeout"))
assertTrue(e.getMessage().contains("FragmentMgr cancel worker going to cancel timeout instance") || e.getMessage().contains("Execute timeout") || e.getMessage().contains("timeout"))
assertTrue(end - start <= 60000)
} finally {
sql "SET global query_timeout = ${query_timeout[0][1]}"
Expand Down

0 comments on commit 26a8089

Please sign in to comment.