From 730c92626f09ce77a1cb7342d4e8d3a8ac9ed625 Mon Sep 17 00:00:00 2001 From: 9547 Date: Tue, 17 Nov 2020 23:15:01 +0800 Subject: [PATCH] fix(tests/tiup-cluster): wrong cluster path --- tests/tiup-cluster/script/cmd_subtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tiup-cluster/script/cmd_subtest.sh b/tests/tiup-cluster/script/cmd_subtest.sh index 076b94adec..5a88d0394f 100755 --- a/tests/tiup-cluster/script/cmd_subtest.sh +++ b/tests/tiup-cluster/script/cmd_subtest.sh @@ -104,7 +104,7 @@ function cmd_subtest() { ! tiup-cluster $client _test $name data - cp ~/.tiup/storage/cluster/$name/ssh/id_rsa "/tmp/$name.id_rsa" + cp ~/.tiup/storage/cluster/clusters/$name/ssh/id_rsa "/tmp/$name.id_rsa" tiup-cluster $client --yes destroy $name # after destroy the cluster, the public key should be deleted