Skip to content

Commit

Permalink
Update test_base_insert_job.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs authored Dec 12, 2024
1 parent 69844b5 commit 00a5a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regression-test/suites/job_p0/test_base_insert_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ suite("test_base_insert_job") {

def taskStatus = sql """select status from tasks("type"="insert") where JobName ='${jobName}'"""
for (int i = 0; i < taskStatus.size(); i++) {
assert taskStatus.get(i).get(0) =="CANCELLED" || taskStatus.get(i).get(0) =="SUCCESS"
assert taskStatus.get(i).get(0) =="CANCELED" || taskStatus.get(i).get(0) =="SUCCESS"
}
sql """
CREATE JOB ${jobMixedName} ON SCHEDULE every 1 second DO insert into ${tableName} (timestamp, type, user_id) values ('2023-03-18','1','12213');
Expand Down

0 comments on commit 00a5a3d

Please sign in to comment.