Skip to content

Commit

Permalink
Fix test failure in github actions
Browse files Browse the repository at this point in the history
Don't assume the default format
  • Loading branch information
dnephin committed Aug 25, 2023
1 parent 70249b4 commit 62b821f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/main_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func TestE2E_MaxFails_EndTestRun(t *testing.T) {
envVars["TEST_SEEDFILE"] = tmpFile.Path()
env.PatchAll(t, envVars)

t.Setenv("GOTESTSUM_FORMAT", "pkgname")
flags, opts := setupFlags("gotestsum")
args := []string{"--max-fails=2", "--packages=./testdata/e2e/flaky/", "--", "-tags=testdata"}
assert.NilError(t, flags.Parse(args))
Expand Down

0 comments on commit 62b821f

Please sign in to comment.