Skip to content

Commit

Permalink
fix log verbosity in flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-r-reis committed Oct 19, 2022
1 parent c54a1fd commit e049544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/connect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ func TestRequestedProtocolVersionUnsupportedByProxy(t *testing.T) {

oldLevel := log.GetLevel()
oldZeroLogLevel := zerolog.GlobalLevel()
log.SetLevel(log.WarnLevel)
log.SetLevel(log.TraceLevel)
defer log.SetLevel(oldLevel)
zerolog.SetGlobalLevel(zerolog.WarnLevel)
zerolog.SetGlobalLevel(zerolog.TraceLevel)
defer zerolog.SetGlobalLevel(oldZeroLogLevel)

cfg := setup.NewTestConfig("127.0.1.1", "127.0.1.2")
Expand Down

0 comments on commit e049544

Please sign in to comment.