test: remove output to stdout

This commit is contained in:
Frank Schroeder 2017-05-23 01:43:34 +02:00
parent 8f943542b0
commit c5f565ee1a
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
2 changed files with 1 additions and 2 deletions

View File

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

View File

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