Skip to content

Commit

Permalink
increase wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Feb 2, 2024
1 parent fb4114d commit 08a44d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion regression-test/suites/job_p0/test_base_insert_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ suite("test_base_insert_job") {
sql """
CREATE JOB press ON SCHEDULE every 10 hour starts CURRENT_TIMESTAMP comment 'test for test&68686781jbjbhj//ncsa' DO insert into ${tableName} values ('2023-07-19', 99, 99);
"""
Thread.sleep(2500)
Thread.sleep(5000)
def pressJob = sql """ select * from jobs("type"="insert") where name='press' """
println pressJob

def recurringTableDatas = sql """ select count(1) from ${tableName} where user_id=99 and type=99 """
assert recurringTableDatas.get(0).get(0) == 1
sql """
Expand Down

0 comments on commit 08a44d0

Please sign in to comment.