test: remove output to stdout

pull/3037/head
Frank Schroeder 8 years ago
parent 8f943542b0
commit c5f565ee1a
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD

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

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

Loading…
Cancel
Save