From 08a44d0813dadcaf874d197b89bb33c1842b3977 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Sat, 3 Feb 2024 00:59:53 +0800 Subject: [PATCH] increase wait time --- regression-test/suites/job_p0/test_base_insert_job.groovy | 5 ++++- 1 file changed, 4 insertions(+), 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 6ba917bd576d83..b4400e89f2dff8 100644 --- a/regression-test/suites/job_p0/test_base_insert_job.groovy +++ b/regression-test/suites/job_p0/test_base_insert_job.groovy @@ -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 """