From 07e7a85ae1d620506154649285138e32b3af406f Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Sat, 6 Aug 2016 14:39:56 +0200 Subject: [PATCH] enable info logging during drop tests ref #261 --- integrationtests/drop_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integrationtests/drop_test.go b/integrationtests/drop_test.go index 5935962e..4dc2024c 100644 --- a/integrationtests/drop_test.go +++ b/integrationtests/drop_test.go @@ -12,6 +12,7 @@ import ( _ "github.com/lucas-clemente/quic-clients" // download clients "github.com/lucas-clemente/quic-go/integrationtests/proxy" "github.com/lucas-clemente/quic-go/protocol" + "github.com/lucas-clemente/quic-go/utils" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" @@ -22,6 +23,7 @@ var _ = Describe("Drop Proxy", func() { var dropproxy *proxy.UDPProxy runDropTest := func(incomingPacketDropper, outgoingPacketDropper proxy.DropCallback, version protocol.VersionNumber) { + utils.SetLogLevel(utils.LogLevelInfo) proxyPort := 12345 clientPath := fmt.Sprintf( @@ -53,6 +55,7 @@ var _ = Describe("Drop Proxy", func() { AfterEach(func() { dropproxy.Stop() time.Sleep(time.Millisecond) + utils.SetLogLevel(utils.LogLevelNothing) }) for i := range protocol.SupportedVersions {