[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
This commit is contained in:
@ -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 """
|
||||
|
||||
Reference in New Issue
Block a user