aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/upstream_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-03-18 17:08:39 +0000
committerGravatar GitHub <noreply@github.com> 2017-03-18 17:08:39 +0000
commit72f5a92d302637f40cf7f87ee9e8edf8f9943cf7 (patch)
tree98eb8ddaddf8736a18fe999d053ac8061a21019a /middleware/proxy/upstream_test.go
parent830fdfd26de484a3f9b17c3ea56a2e1dde141e3b (diff)
downloadcoredns-72f5a92d302637f40cf7f87ee9e8edf8f9943cf7.tar.gz
coredns-72f5a92d302637f40cf7f87ee9e8edf8f9943cf7.tar.zst
coredns-72f5a92d302637f40cf7f87ee9e8edf8f9943cf7.zip
Random fixes (#605)
Diffstat (limited to 'middleware/proxy/upstream_test.go')
-rw-r--r--middleware/proxy/upstream_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/middleware/proxy/upstream_test.go b/middleware/proxy/upstream_test.go
index 88fba69c1..587d96994 100644
--- a/middleware/proxy/upstream_test.go
+++ b/middleware/proxy/upstream_test.go
@@ -2,6 +2,7 @@ package proxy
import (
"io/ioutil"
+ "log"
"os"
"path/filepath"
"strings"
@@ -14,6 +15,8 @@ import (
)
func TestHealthCheck(t *testing.T) {
+ log.SetOutput(ioutil.Discard)
+
upstream := &staticUpstream{
from: ".",
Hosts: testPool(),