This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new dab450550f5 [Fix](test)Fix the job's erroneous test case for 
asynchronous tests of periodic tasks. (#38263)
dab450550f5 is described below

commit dab450550f5a1932228a7a0003a8f80853593033
Author: Calvin Kirs <k...@apache.org>
AuthorDate: Tue Jul 23 21:46:28 2024 +0800

    [Fix](test)Fix the job's erroneous test case for asynchronous tests of 
periodic tasks. (#38263)
    
    …
    
    
    
    ## Proposed changes
    Since there might be delays in execution, taskCount should be set to
    >=1.
---
 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

Reply via email to