aboutsummaryrefslogtreecommitdiff
path: root/test/proxy_health_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/proxy_health_test.go')
-rw-r--r--test/proxy_health_test.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/proxy_health_test.go b/test/proxy_health_test.go
index 8d7c229b8..b0677691c 100644
--- a/test/proxy_health_test.go
+++ b/test/proxy_health_test.go
@@ -1,8 +1,6 @@
package test
import (
- "io/ioutil"
- "log"
"testing"
"github.com/coredns/coredns/plugin/proxy"
@@ -13,8 +11,6 @@ import (
)
func TestProxyErratic(t *testing.T) {
- log.SetOutput(ioutil.Discard)
-
corefile := `example.org:0 {
erratic {
drop 2
@@ -39,8 +35,7 @@ func TestProxyErratic(t *testing.T) {
func TestProxyThreeWay(t *testing.T) {
// Run 3 CoreDNS server, 2 upstream ones and a proxy. 1 Upstream is unhealthy after 1 query, but after
- // that we should still be able to send to the other one
- log.SetOutput(ioutil.Discard)
+ // that we should still be able to send to the other one.
// Backend CoreDNS's.
corefileUp1 := `example.org:0 {