aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/upstream_test.go
diff options
context:
space:
mode:
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(),