Skip to content

Commit

Permalink
fix e2e bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Feb 21, 2020
1 parent 590b085 commit ff08d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ func (oa *operatorActions) DeployAdHocBackup(info *TidbClusterConfig) error {
)
glog.Info(getTSCmd)

res, err := exec.Command("/bin/sh", "-c", getTSCmd).CombinedOutput()
res, err := exec.Command("/bin/bash", "-c", getTSCmd).CombinedOutput()
if err != nil {
glog.Errorf("failed to get ts %v, %s", err, string(res))
return false, nil
Expand Down

0 comments on commit ff08d6d

Please sign in to comment.