Skip to content

Commit

Permalink
ci: bump tidb versions in test scripts (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis authored Apr 9, 2021
1 parent 64d6bbd commit 85c8c43
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions tests/tiup-cluster/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_cmd_tls_native_ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_scale_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_scale_core_tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_scale_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_scale_tools_tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/tiup-cluster/test_upgrade_tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 85c8c43

Please sign in to comment.