From ca30e0ff6ddbe4fb125903cefd6c49414fd39660 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Thu, 31 May 2018 15:52:42 -0700 Subject: [PATCH] Remove debug logging --- client/driver/executor/executor_linux_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/driver/executor/executor_linux_test.go b/client/driver/executor/executor_linux_test.go index 5c610503c..17063b4bd 100644 --- a/client/driver/executor/executor_linux_test.go +++ b/client/driver/executor/executor_linux_test.go @@ -90,14 +90,6 @@ func TestExecutor_IsolationAndConstraints(t *testing.T) { } if state.ExitCode != 0 { t.Errorf("exited with non-zero code: %v", state.ExitCode) - - // Log the stderr - file := filepath.Join(ctx.LogDir, "web.stderr.0") - output, err := ioutil.ReadFile(file) - if err != nil { - t.Fatalf("Couldn't read file %v", file) - } - t.Fatalf("ls failed with stderr: %q", string(output)) } // Check if the resource constraints were applied @@ -148,14 +140,6 @@ ld.so.conf.d/` if act != expected { t.Errorf("Command output incorrectly: want %v; got %v", expected, act) } - - // Log the stderr - file2 := filepath.Join(ctx.LogDir, "web.stderr.0") - output, err = ioutil.ReadFile(file2) - if err != nil { - t.Fatalf("Couldn't read file %v", file2) - } - t.Fatalf("ls failed with stderr: %q", string(output)) } func TestExecutor_ClientCleanup(t *testing.T) {