This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-4.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push: new fb4fea39c72 branch-4.0: [fix](case) Fix unreasonable assert for recycler case #56546 (#56581) fb4fea39c72 is described below commit fb4fea39c72f44abb3c9396e89eeb49b0ae816d3 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sun Sep 28 21:37:09 2025 +0800 branch-4.0: [fix](case) Fix unreasonable assert for recycler case #56546 (#56581) Cherry-picked from #56546 Co-authored-by: Yixuan Wang <wangyix...@selectdb.com> --- .../data/cloud_p0/recycler/test_recycler_with_truncate_table.out | 1 - regression-test/suites/cloud_p0/recycler/test_recycler.groovy | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regression-test/data/cloud_p0/recycler/test_recycler_with_truncate_table.out b/regression-test/data/cloud_p0/recycler/test_recycler_with_truncate_table.out index 1567a956723..e5bfd11ece3 100644 --- a/regression-test/data/cloud_p0/recycler/test_recycler_with_truncate_table.out +++ b/regression-test/data/cloud_p0/recycler/test_recycler_with_truncate_table.out @@ -11,4 +11,3 @@ -- !sql -- 1201144 - diff --git a/regression-test/suites/cloud_p0/recycler/test_recycler.groovy b/regression-test/suites/cloud_p0/recycler/test_recycler.groovy index 7d56edcdb56..41500ae2bb4 100644 --- a/regression-test/suites/cloud_p0/recycler/test_recycler.groovy +++ b/regression-test/suites/cloud_p0/recycler/test_recycler.groovy @@ -120,7 +120,8 @@ suite("test_recycler") { def info = parseJson(checkJobInfoResult.trim()) if (info.last_finish_time_ms != null) { // Check done checkerLastFinishTime = Long.parseLong(info.last_finish_time_ms) - assertTrue(info.last_success_time_ms != null) + } + if(info.last_success_time_ms != null) { checkerLastSuccessTime = Long.parseLong(info.last_success_time_ms) } } @@ -131,7 +132,7 @@ suite("test_recycler") { Thread.sleep(10000) // 10s getCheckJobInfo() logger.info("checkerLastFinishTime=${checkerLastFinishTime}, checkerLastSuccessTime=${checkerLastSuccessTime}") - if (checkerLastFinishTime > recyclerLastSuccessTime) { + if (checkerLastSuccessTime > recyclerLastSuccessTime) { break } } while (true) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org