Skip to content

Commit

Permalink
engine(dm): fix unstable engine test dm_lightning_checkpoint (#8687)
Browse files Browse the repository at this point in the history
ref #4159
  • Loading branch information
GMHDBJD authored Mar 27, 2023
1 parent 1309c3b commit 1fffbed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions engine/test/integration_tests/dm_lightning_checkpoint/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ function run() {
job_id2=$(create_job "DM" "$CUR_DIR/conf/job2.yaml" "checkpoint2")
exec_with_retry --count 30 "curl \"http://127.0.0.1:10245/api/v1/jobs/$job_id/status\" | tee /dev/stderr | jq -e '.task_status.\"mysql-01\".status.unit == \"DMLoadTask\"'" &
exec_with_retry --count 30 "curl \"http://127.0.0.1:10245/api/v1/jobs/$job_id2/status\" | tee /dev/stderr | jq -e '.task_status.\"mysql-02\".status.unit == \"DMLoadTask\"'"
exec_with_retry --count 30 'run_sql --port 4000 "show databases;" | grep -q "checkpoint"'
exec_with_retry --count 30 'run_sql --port 4000 "show databases;" | grep -q "checkpoint2"'
exec_with_retry --count 100 "curl \"http://127.0.0.1:10245/api/v1/jobs/$job_id\" | tee /dev/stderr | jq -e '.state == \"Finished\"'" &
exec_with_retry --count 100 "curl \"http://127.0.0.1:10245/api/v1/jobs/$job_id2\" | tee /dev/stderr | jq -e '.state == \"Finished\"'"
# clean the lighting checkpoint in downstream after job is finished
Expand Down

0 comments on commit 1fffbed

Please sign in to comment.