diff options
-rw-r--r-- | tcpproxy_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcpproxy_test.go b/tcpproxy_test.go index 83729e3..5d75cc3 100644 --- a/tcpproxy_test.go +++ b/tcpproxy_test.go @@ -27,8 +27,10 @@ import ( "fmt" "io" "io/ioutil" + "log" "math/big" "net" + "os" "strings" "testing" "time" @@ -441,6 +443,9 @@ func readTLS(dest, domain string) (string, error) { } func TestProxyACME(t *testing.T) { + log.SetOutput(ioutil.Discard) + defer log.SetOutput(os.Stderr) + front := newLocalListener(t) defer front.Close() |