This is an automated email from the ASF dual-hosted git repository. kirs 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 c73d40f8690 [Fix](test)Fix the job's erroneous test case for asynchronous tests of periodic tasks. (#38264) c73d40f8690 is described below commit c73d40f86902eda412442c12053e23e32ea0cd2b Author: Calvin Kirs <k...@apache.org> AuthorDate: Tue Jul 23 21:22:16 2024 +0800 [Fix](test)Fix the job's erroneous test case for asynchronous tests of periodic tasks. (#38264) … Since there might be delays in execution, taskCount should be set to >=1. ## Proposed changes Issue Number: close #xxx #38263 --- regression-test/suites/job_p0/test_base_insert_job.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-test/suites/job_p0/test_base_insert_job.groovy b/regression-test/suites/job_p0/test_base_insert_job.groovy index aad7edc04e5..51816414d19 100644 --- a/regression-test/suites/job_p0/test_base_insert_job.groovy +++ b/regression-test/suites/job_p0/test_base_insert_job.groovy @@ -187,7 +187,7 @@ suite("test_base_insert_job") { Awaitility.await("create-job-test").atMost(60, SECONDS).until({ def job = sql """ select SucceedTaskCount from jobs("type"="insert") where name='${jobName}'""" println job - job.size() == 1 && '1' == job.get(0).get(0) + job.size() == 1 && '1' <= job.get(0).get(0) }) sql """ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org