Skip to content

Commit

Permalink
[fix](test) try fix unstable audit log test
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Jan 10, 2025
1 parent 7a6c125 commit 121b50a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regression-test/suites/audit/test_audit_log_behavior.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ suite("test_audit_log_behavior") {
sql "set enable_nereids_planner=${on}"
sql "truncate table __internal_schema.audit_log"
// run queries
sql "set global audit_plugin_max_sql_length = 58"
for (int i = 0; i < cnt; i++) {
def tuple2 = sqls.get(i)
sql tuple2[0]
Expand All @@ -103,7 +104,7 @@ suite("test_audit_log_behavior") {
sleep(1000)
res = sql "${query}"
}
assertEquals(res[0][0].toString(), tuple2[1].toString())
assertEquals(tuple2[1].toString(), res[0][0].toString());
}
}
// do not turn off
Expand Down

0 comments on commit 121b50a

Please sign in to comment.