From 6b2a8048d833c93dadf4ee867c7acdb3fa006816 Mon Sep 17 00:00:00 2001 From: nexustar Date: Mon, 30 Aug 2021 19:54:59 +0800 Subject: [PATCH] fix dm test --- tests/tiup-dm/test_cmd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tiup-dm/test_cmd.sh b/tests/tiup-dm/test_cmd.sh index 6c896f661d..cb6303719a 100755 --- a/tests/tiup-dm/test_cmd.sh +++ b/tests/tiup-dm/test_cmd.sh @@ -39,7 +39,7 @@ tiup-dm audit $id # check the local config tiup-dm exec $name -N $ipprefix.101 --command "grep magic-string-for-test /home/tidb/deploy/prometheus-9090/conf/dm_worker.rules.yml" -tiup-dm exec $name -N $ipprefix.101 --command "grep magic-string-for-test /home/tidb/deploy/grafana-3000/dashboards/dm.json" +tiup-dm exec $name -N $ipprefix.101 --command "grep magic-string-for-test /home/tidb/deploy/grafana-3000/dashboards/*.json" tiup-dm exec $name -N $ipprefix.101 --command "grep magic-string-for-test /home/tidb/deploy/alertmanager-9093/conf/alertmanager.yml" tiup-dm --yes start $name @@ -106,7 +106,7 @@ sed "s/__IPPREFIX__/$ipprefix/g" $topo_grafana.tpl > $topo_grafana yes | tiup-dm scale-out $name $topo_grafana # test grafana config -tiup-dm exec $name -N $ipprefix.101 --command "ls /home/tidb/deploy/grafana-3000/dashboards/dm.json && ! grep magic-string-for-test /home/tidb/deploy/grafana-3000/dashboards/dm.json" +tiup-dm exec $name -N $ipprefix.101 --command "ls /home/tidb/deploy/grafana-3000/dashboards/*.json && ! grep magic-string-for-test /home/tidb/deploy/grafana-3000/dashboards/*.json" # test create a task and can replicate data ./script/task/run.sh