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 (#38995) (#39068)

pick #38995
  • Loading branch information
mymeiyi authored Aug 8, 2024
1 parent 2ec1a6a commit 4668ebd
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("CANCELLED"))
assertTrue(e.getMessage().contains("FragmentMgr cancel worker going to cancel timeout instance") || e.getMessage().contains("CANCELLED") || e.getMessage().contains("timeout"))
assertTrue(end - start <= 60000)
} finally {
sql "SET global query_timeout = ${query_timeout[0][1]}"
Expand Down

0 comments on commit 4668ebd

Please sign in to comment.