[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:
Calvin Kirs
2024-07-23 21:22:16 +08:00
committed by GitHub
parent 62d2f0a05e
commit c73d40f869

View File

@ -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 """