diff --git a/internal/app/app_test.go b/internal/app/app_test.go index ef3ab52..9316a0a 100644 --- a/internal/app/app_test.go +++ b/internal/app/app_test.go @@ -2,7 +2,6 @@ package app_test import ( "fmt" - "os" "strings" "testing" "time" @@ -212,5 +211,5 @@ func TestMultipleRunsErrorsAreJoined(t *testing.T) { func TestMain(m *testing.M) { logrus.StandardLogger().SetLevel(logrus.DebugLevel) - os.Exit(m.Run()) + m.Run() } diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index 44925ed..7b3ed25 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -286,5 +286,5 @@ func TestMain(m *testing.M) { testutils.InstallUpdateFlag() flag.Parse() - os.Exit(m.Run()) + m.Run() }