Browse Source

test: remove output to stdout

pull/3037/head
Frank Schroeder 8 years ago
parent
commit
c5f565ee1a
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
  1. 2
      command/agent/agent_endpoint_test.go
  2. 1
      command/agent/check_test.go

2
command/agent/agent_endpoint_test.go

@ -1564,7 +1564,7 @@ func TestAgent_Monitor(t *testing.T) {
a := &TestAgent{
Name: t.Name(),
LogWriter: logWriter,
LogOutput: io.MultiWriter(os.Stdout, logWriter),
LogOutput: io.MultiWriter(os.Stderr, logWriter),
}
a.Start()
defer a.Shutdown()

1
command/agent/check_test.go

@ -234,7 +234,6 @@ func TestCheckHTTPCritical(t *testing.T) {
// var server *httptest.Server
server := mockHTTPServer(150)
fmt.Println(server.URL)
expectHTTPStatus(t, server.URL, api.HealthCritical)
server.Close()

Loading…
Cancel
Save