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) {