Skip to content

Commit

Permalink
removed os.exit mistakenly added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jibel committed Sep 6, 2024
1 parent 5f11645 commit 8805adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions internal/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package app_test

import (
"fmt"
"os"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -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()
}
2 changes: 1 addition & 1 deletion internal/proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,5 +286,5 @@ func TestMain(m *testing.M) {
testutils.InstallUpdateFlag()
flag.Parse()

os.Exit(m.Run())
m.Run()
}

0 comments on commit 8805adc

Please sign in to comment.