Skip to content

Commit

Permalink
fix failing unit tests due to flag parse
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsaperstein-lyft committed Nov 14, 2023
1 parent 77eb051 commit fc40ad9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integ/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ type IntegSuite struct {
var _ = Suite(&IntegSuite{})

func Test(t *testing.T) {
flag.Parse()
var integration = os.Getenv("INTEGRATION") != ""
if integration {
flag.Parse()
}
TestingT(t)
}

Expand Down

0 comments on commit fc40ad9

Please sign in to comment.