Remove debug logging

This commit is contained in:
Alex Dadgar
2018-05-31 15:52:42 -07:00
parent 304b76e1e2
commit ca30e0ff6d

View File

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