Skip to content

Commit 049857e

Browse files
committed
fix
1 parent b00e64d commit 049857e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ class Suite implements GroovyInterceptable {
706706
Throwable throwable = null
707707
for (int i = 1; i <= executeTimes; ++i) {
708708
try {
709-
return closure()
709+
return closure(i) as T
710710
} catch (Throwable t) {
711711
logger.warn("Retry failed: $t", t)
712712
throwable = t

regression-test/suites/nereids_p0/cache/parse_sql_from_sql_cache.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import java.util.stream.Collectors
2020
suite("parse_sql_from_sql_cache") {
2121
def assertHasCache = { String sqlStr ->
2222
retry(120, 1000) { i ->
23-
if (i > 0) {
23+
if (i > 1) {
2424
sql sqlStr
2525
}
2626
explain {

0 commit comments

Comments
 (0)