From 85c8c4394d80c66fe2bf9658ae19d2ea80e1ddfd Mon Sep 17 00:00:00 2001 From: Allen Zhong Date: Fri, 9 Apr 2021 15:50:33 +0800 Subject: [PATCH] ci: bump tidb versions in test scripts (#1289) --- tests/tiup-cluster/run.sh | 4 ++-- tests/tiup-cluster/test_cmd.sh | 4 ++-- tests/tiup-cluster/test_cmd_tls_native_ssh.sh | 4 ++-- tests/tiup-cluster/test_scale_core.sh | 4 ++-- tests/tiup-cluster/test_scale_core_tls.sh | 4 ++-- tests/tiup-cluster/test_scale_tools.sh | 4 ++-- tests/tiup-cluster/test_scale_tools_tls.sh | 4 ++-- tests/tiup-cluster/test_upgrade.sh | 4 ++-- tests/tiup-cluster/test_upgrade_tls.sh | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/tiup-cluster/run.sh b/tests/tiup-cluster/run.sh index df8d95b475..96986a1962 100755 --- a/tests/tiup-cluster/run.sh +++ b/tests/tiup-cluster/run.sh @@ -11,8 +11,8 @@ export TIUP_CLUSTER_PROGRESS_REFRESH_RATE=10s export TIUP_CLUSTER_EXECUTE_DEFAULT_TIMEOUT=300s export DEBUG_CHECKPOINT=1 -export version=${version-v4.0.4} -export old_version=${old_version-v3.0.16} +export version=${version-v4.0.12} +export old_version=${old_version-v3.0.20} # Prepare local config echo "preparing local config" diff --git a/tests/tiup-cluster/test_cmd.sh b/tests/tiup-cluster/test_cmd.sh index 47738c7ef5..c6ec9572bd 100755 --- a/tests/tiup-cluster/test_cmd.sh +++ b/tests/tiup-cluster/test_cmd.sh @@ -4,5 +4,5 @@ set -eu source script/cmd_subtest.sh -echo "test cluster for verision v4.0.9 wo/ TLS, via easy ssh" -cmd_subtest 4.0.9 false false +echo "test cluster for verision v4.0.12 wo/ TLS, via easy ssh" +cmd_subtest 4.0.12 false false diff --git a/tests/tiup-cluster/test_cmd_tls_native_ssh.sh b/tests/tiup-cluster/test_cmd_tls_native_ssh.sh index bbef6887cb..6f668405c5 100755 --- a/tests/tiup-cluster/test_cmd_tls_native_ssh.sh +++ b/tests/tiup-cluster/test_cmd_tls_native_ssh.sh @@ -5,7 +5,7 @@ set -eu source script/cmd_subtest.sh export GO_FAILPOINTS='github.com/pingcap/tiup/pkg/cluster/executor/assertNativeSSH=return(true)' -echo "test cluster for verision v4.0.9 w/ TLS, via native ssh" -cmd_subtest v4.0.9 true true +echo "test cluster for verision v4.0.12 w/ TLS, via native ssh" +cmd_subtest v4.0.12 true true unset GO_FAILPOINTS diff --git a/tests/tiup-cluster/test_scale_core.sh b/tests/tiup-cluster/test_scale_core.sh index 740599b172..dd7b35836b 100755 --- a/tests/tiup-cluster/test_scale_core.sh +++ b/tests/tiup-cluster/test_scale_core.sh @@ -4,5 +4,5 @@ set -eu source script/scale_core.sh -echo "test scaling of core components in cluster for verision v4.0.4 wo/ TLS, via easy ssh" -scale_core v4.0.4 false false +echo "test scaling of core components in cluster for verision v4.0.12 wo/ TLS, via easy ssh" +scale_core v4.0.12 false false diff --git a/tests/tiup-cluster/test_scale_core_tls.sh b/tests/tiup-cluster/test_scale_core_tls.sh index 5329fc2736..d50fe81bb2 100755 --- a/tests/tiup-cluster/test_scale_core_tls.sh +++ b/tests/tiup-cluster/test_scale_core_tls.sh @@ -4,5 +4,5 @@ set -eu source script/scale_core.sh -echo "test scaling of core components in cluster for verision v4.0.4 w/ TLS, via easy ssh" -scale_core v4.0.4 true false +echo "test scaling of core components in cluster for verision v4.0.12 w/ TLS, via easy ssh" +scale_core v4.0.12 true false diff --git a/tests/tiup-cluster/test_scale_tools.sh b/tests/tiup-cluster/test_scale_tools.sh index ca884894fa..7dae149834 100755 --- a/tests/tiup-cluster/test_scale_tools.sh +++ b/tests/tiup-cluster/test_scale_tools.sh @@ -4,5 +4,5 @@ set -eu source script/scale_tools.sh -echo "test scaling of tools components in cluster for verision v4.0.4, via easy ssh" -scale_tools v4.0.4 false false +echo "test scaling of tools components in cluster for verision v4.0.12, via easy ssh" +scale_tools v4.0.12 false false diff --git a/tests/tiup-cluster/test_scale_tools_tls.sh b/tests/tiup-cluster/test_scale_tools_tls.sh index 59a165ca87..a5b548afee 100755 --- a/tests/tiup-cluster/test_scale_tools_tls.sh +++ b/tests/tiup-cluster/test_scale_tools_tls.sh @@ -4,5 +4,5 @@ set -eu source script/scale_tools.sh -echo "test scaling of tools components in cluster for verision v4.0.4 w/ TLS, via easy ssh" -scale_tools v4.0.4 true false +echo "test scaling of tools components in cluster for verision v4.0.12 w/ TLS, via easy ssh" +scale_tools v4.0.12 true false diff --git a/tests/tiup-cluster/test_upgrade.sh b/tests/tiup-cluster/test_upgrade.sh index 7d4ff24ab8..22381f0959 100755 --- a/tests/tiup-cluster/test_upgrade.sh +++ b/tests/tiup-cluster/test_upgrade.sh @@ -2,8 +2,8 @@ set -eu -version=${version-v4.0.4} -old_version=${old_version-v3.0.16} +version=${version-v4.0.12} +old_version=${old_version-v3.0.20} name=test_upgrade topo=./topo/upgrade.yaml diff --git a/tests/tiup-cluster/test_upgrade_tls.sh b/tests/tiup-cluster/test_upgrade_tls.sh index 5f31026e9c..62ad3cac7d 100755 --- a/tests/tiup-cluster/test_upgrade_tls.sh +++ b/tests/tiup-cluster/test_upgrade_tls.sh @@ -2,8 +2,8 @@ set -eu -version=${version-v4.0.4} -old_version=${old_version-v3.0.16} +version=${version-v4.0.12} +old_version=${old_version-v3.0.20} name=test_upgrade_tls topo=./topo/upgrade_tls.yaml