Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 authored and ti-chi-bot committed Jan 14, 2022
1 parent f1d4db9 commit eb60b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dm/tests/metrics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ function run() {
check_metric $WORKER1_PORT 'dm_worker_task_state{source_id="mysql-replica-01",task="test",worker="worker1"}' 10 1 3
check_metric $WORKER2_PORT 'dm_worker_task_state{source_id="mysql-replica-02",task="test",worker="worker2"}' 10 1 3

# check dm_syncer_binlog_file is updated timely
run_sql_source1 "flush logs;"
# check dm_syncer_binlog_file is updated timely
run_sql_source1 "flush logs;"
check_metric $WORKER1_PORT 'dm_syncer_binlog_file{node="syncer",source_id="mysql-replica-01",task="test"}' 10 1 3
check_metric $WORKER1_PORT 'dm_syncer_binlog_file{node="master",source_id="mysql-replica-01",task="test"}' 10 1 3

Expand Down

0 comments on commit eb60b6b

Please sign in to comment.