diff --git a/test/integration/mount_test.go b/test/integration/mount_test.go index 7ef9907ad7e1060036c2175024778026293b28ef..9cb61d841fe31b95bb3e3691995b307e493629aa 100644 --- a/test/integration/mount_test.go +++ b/test/integration/mount_test.go @@ -20,7 +20,6 @@ package integration import ( "fmt" - "io" "io/ioutil" "os" "path/filepath" @@ -56,10 +55,7 @@ func testMounting(t *testing.T) { } else { mountCmd = fmt.Sprintf("mount %s:/mount-9p", tempDir) } - if testing.Verbose() { - fmt.Fprintf(os.Stderr, "runing mount cmd: %s\n", mountCmd) - } - cmd, out, serr := minikubeRunner.RunDaemon2(mountCmd) + cmd, _, _ := minikubeRunner.RunDaemon2(mountCmd) defer func() { err := cmd.Process.Kill() if err != nil { @@ -67,11 +63,6 @@ func testMounting(t *testing.T) { } }() - if testing.Verbose() { - go io.Copy(os.Stderr, out) - go io.Copy(os.Stderr, serr) - } - kubectlRunner := util.NewKubectlRunner(t) podName := "busybox-mount" podPath, _ := filepath.Abs("testdata/busybox-mount-test.yaml") @@ -138,7 +129,7 @@ func testMounting(t *testing.T) { statCmd := fmt.Sprintf("stat /mount-9p/%s", file) statOutput, err := minikubeRunner.SSH(statCmd) if err != nil { - t.Fatalf("%v", err) + t.Fatalf("Unable to stat %s via SSH. error %v, %s", file, err, statOutput) } if runtime.GOOS == "windows" {