mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Remove debug logging
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user