diff options
author | Brad Fitzpatrick <[email protected]> | 2018-06-20 14:50:11 -0700 |
---|---|---|
committer | Brad Fitzpatrick <[email protected]> | 2018-06-20 14:50:11 -0700 |
commit | 7efa37ff5079eba4a39ddda1b79f65fc81c759e3 (patch) | |
tree | 2fbe424b94835d3435b67a00c587e1c00eeb152c | |
parent | dbc151467a20b4513174bb3d6b1283e9419eb0f9 (diff) |
Quiet log spam in test.
-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() |