Skip to content

Commit

Permalink
test: add Stdout to TestReloadLabel (tikv#8427)
Browse files Browse the repository at this point in the history
ref tikv#8389

Signed-off-by: okJiang <819421878@qq.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
okJiang and ti-chi-bot[bot] authored Jul 23, 2024
1 parent 7136d69 commit 624b6f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integrations/realcluster/reboot_pd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package realcluster

import (
"context"
"os"
"os/exec"
"testing"

Expand All @@ -26,6 +27,8 @@ import (
func restartTiUP() {
log.Info("start to restart TiUP")
cmd := exec.Command("make", "deploy")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Run()
if err != nil {
panic(err)
Expand Down

0 comments on commit 624b6f3

Please sign in to comment.