From 121b50a63953e08767a3aaf373bb749f04c00422 Mon Sep 17 00:00:00 2001 From: morningman Date: Fri, 10 Jan 2025 12:40:37 +0800 Subject: [PATCH] [fix](test) try fix unstable audit log test --- regression-test/suites/audit/test_audit_log_behavior.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regression-test/suites/audit/test_audit_log_behavior.groovy b/regression-test/suites/audit/test_audit_log_behavior.groovy index 6b6e7cf58718e5..16eca29c2d39bb 100644 --- a/regression-test/suites/audit/test_audit_log_behavior.groovy +++ b/regression-test/suites/audit/test_audit_log_behavior.groovy @@ -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] @@ -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