Skip to content

Commit

Permalink
add it
Browse files Browse the repository at this point in the history
  • Loading branch information
GMHDBJD authored and ti-chi-bot committed Dec 14, 2023
1 parent 0d933a7 commit d161bf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dm/tests/lightning_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ advertise-addr = "127.0.0.1:8261"

rpc-timeout = "30s"
auto-compaction-retention = "3s"
openapi = true
4 changes: 3 additions & 1 deletion dm/tests/lightning_mode/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ function run() {
"stop-task test" \
"\"result\": true" 3
run_sql_tidb "drop database if exists lightning_mode;"
run_sql_tidb "drop database if exists dm_meta;"

dmctl_start_task "$cur/conf/dm-task.yaml" "--remove-meta"
task_conf=`cat $cur/conf/task.json`
curl -X POST http://127.0.0.1:8261/api/v1/tasks -H "Content-Type: application/json" -d "$task_conf"

# use sync_diff_inspector to check full dump loader
check_sync_diff $WORK_DIR $cur/conf/diff_config.toml
Expand Down

0 comments on commit d161bf9

Please sign in to comment.