Skip to content

Commit

Permalink
add CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed Feb 3, 2021
1 parent 9375eb5 commit fe2be71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/manager/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (m *Manager) Display(name string, opt operator.Options) error {
// check if the role is patched
roleName := ins.Role()
if ins.IsPatched() {
roleName += "(patched)"
roleName += " (patched)"
}

clusterTable = append(clusterTable, []string{
Expand Down
1 change: 1 addition & 0 deletions tests/tiup-cluster/script/cmd_subtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function cmd_subtest() {

# Patch a stopped cluster
tiup-cluster $client --yes patch $name ~/.tiup/storage/cluster/packages/tidb-v$version-linux-amd64.tar.gz -R tidb --offline
tiup-cluster $client display $name | grep "tidb (patched)"

tiup-cluster $client _test $name writable

Expand Down

0 comments on commit fe2be71

Please sign in to comment.