diff --git a/pkg/dmsg/client_test.go b/pkg/dmsg/client_test.go index 6b7886860d..46fe121c23 100644 --- a/pkg/dmsg/client_test.go +++ b/pkg/dmsg/client_test.go @@ -2,9 +2,7 @@ package dmsg import ( "context" - "log" "net" - "os" "testing" "time" @@ -23,21 +21,6 @@ type transportWithError struct { err error } -func TestMain(m *testing.M) { - loggingLevel, ok := os.LookupEnv("TEST_LOGGING_LEVEL") - if ok { - lvl, err := logging.LevelFromString(loggingLevel) - if err != nil { - log.Fatal(err) - } - logging.SetLevel(lvl) - } else { - logging.Disable() - } - - os.Exit(m.Run()) -} - func TestClient(t *testing.T) { logger := logging.MustGetLogger("dms_client")