From c5f565ee1ac98f6f6f678b53ae40234fd35b1a88 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 23 May 2017 01:43:34 +0200 Subject: [PATCH] test: remove output to stdout --- command/agent/agent_endpoint_test.go | 2 +- command/agent/check_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/command/agent/agent_endpoint_test.go b/command/agent/agent_endpoint_test.go index e333b48bc9..310c20147d 100644 --- a/command/agent/agent_endpoint_test.go +++ b/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() diff --git a/command/agent/check_test.go b/command/agent/check_test.go index ce541dff48..657e9de985 100644 --- a/command/agent/check_test.go +++ b/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()