Skip to content

Commit

Permalink
branch-3.0: [fix](case) fix insert_group_commit_into #47865 (#47937)
Browse files Browse the repository at this point in the history
Cherry-picked from #47865

Co-authored-by: meiyi <[email protected]>
  • Loading branch information
github-actions[bot] and mymeiyi authored Feb 17, 2025
1 parent da1168b commit a8e18b0
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ suite("insert_group_commit_into") {
def table = dbName + "." + tableName

def getRowCount = { expectedRowCount ->
Awaitility.await().atMost(30, SECONDS).pollInterval(1, SECONDS).until(
Awaitility.await().atMost(90, SECONDS).pollInterval(1, SECONDS).until(
{
def result = sql "select count(*) from ${table}"
logger.info("table: ${table}, rowCount: ${result}")
Expand Down Expand Up @@ -98,6 +98,11 @@ suite("insert_group_commit_into") {
assertTrue(!serverInfo.contains("'label':'group_commit_"))
}

sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '100')"
onFinish {
sql "ADMIN SET FRONTEND CONFIG ('commit_timeout_second' = '30')"
}

try {
// create table
sql """ drop table if exists ${table}; """
Expand Down

0 comments on commit a8e18b0

Please sign in to comment.