diff --git a/gossip/service/gossip_service_test.go b/gossip/service/gossip_service_test.go index 944349056b0..6a7080f859b 100644 --- a/gossip/service/gossip_service_test.go +++ b/gossip/service/gossip_service_test.go @@ -41,7 +41,6 @@ import ( "github.com/hyperledger/fabric/peer/gossip/mocks" "github.com/hyperledger/fabric/protos/common" "github.com/hyperledger/fabric/protos/peer" - "github.com/op/go-logging" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "google.golang.org/grpc" @@ -332,9 +331,6 @@ func TestLeaderElectionWithRealGossip(t *testing.T) { // Check correct leader still exist for first channel and new correct leader chosen in second channel // Stop gossip instances of leader peers for both channels and see that new leader chosen for both - logging.SetLevel(logging.DEBUG, util.LoggingElectionModule) - logging.SetLevel(logging.DEBUG, util.LoggingServiceModule) - // Creating gossip service instances for peers n := 10 gossips := startPeers(t, n, 20000)