From 3941978911d6dc77607af059291b974f23baa833 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Tue, 6 Feb 2024 09:29:59 -0600 Subject: [PATCH] Revert unwanted change on logging for vttestserver Signed-off-by: Florent Poinsard --- go/vt/vttest/vtprocess.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/go/vt/vttest/vtprocess.go b/go/vt/vttest/vtprocess.go index 28cecbaf001..0e3f14193e4 100644 --- a/go/vt/vttest/vtprocess.go +++ b/go/vt/vttest/vtprocess.go @@ -26,7 +26,6 @@ import ( "path" "strings" "syscall" - "testing" "time" "google.golang.org/protobuf/encoding/prototext" @@ -142,11 +141,8 @@ func (vtp *VtProcess) WaitStart() (err error) { vtp.proc.Args = append(vtp.proc.Args, vtp.ExtraArgs...) vtp.proc.Env = append(vtp.proc.Env, os.Environ()...) vtp.proc.Env = append(vtp.proc.Env, vtp.Env...) - - if testing.Verbose() { - vtp.proc.Stderr = os.Stderr - vtp.proc.Stdout = os.Stdout - } + vtp.proc.Stderr = os.Stderr + vtp.proc.Stdout = os.Stdout log.Infof("%v %v", strings.Join(vtp.proc.Args, " ")) err = vtp.proc.Start()