This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 45eaa3862d6 [regression-test](fix) fix test_audit_log_behavior.groovy
bug (#46100) (#46524)
45eaa3862d6 is described below
commit 45eaa3862d6430d96a28a8eddce3e96fbce8b9c4
Author: shuke <[email protected]>
AuthorDate: Tue Jan 7 14:38:25 2025 +0800
[regression-test](fix) fix test_audit_log_behavior.groovy bug (#46100)
(#46524)
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
In this case, select stmt from __internal_schema.audit_log where stmt
like '%3F6B9A_1%' order by time asc limit 1
will also be inserted into audit log table, and be selected, which will
cause assert fail in test case, which want a insert stmt.
---
regression-test/suites/audit/test_audit_log_behavior.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regression-test/suites/audit/test_audit_log_behavior.groovy
b/regression-test/suites/audit/test_audit_log_behavior.groovy
index 0636c2ad7cb..ec01870750a 100644
--- a/regression-test/suites/audit/test_audit_log_behavior.groovy
+++ b/regression-test/suites/audit/test_audit_log_behavior.groovy
@@ -92,8 +92,8 @@ suite("test_audit_log_behavior") {
// check result
for (int i = 0; i < cnt; i++) {
def tuple2 = sqls.get(i)
- def retry = 90
- def res = sql "select stmt from __internal_schema.audit_log where
stmt like '%3F6B9A_${i}%' order by time asc limit 1"
+ def retry = 180
+ def res = sql "select stmt from __internal_schema.audit_log where
stmt like 'insert%3F6B9A_${i}%' order by time asc limit 1"
while (res.isEmpty()) {
if (retry-- < 0) {
logger.warn("It has retried a few but still failed, you
need to check it")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]