Skip to content

Commit

Permalink
Skip a test that flakes in CI
Browse files Browse the repository at this point in the history
It passes reliably locally and in CircleCI. I'm not sure why it flakes on Github Actions
  • Loading branch information
dnephin committed Sep 17, 2024
1 parent 1f17f79 commit b9afca8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testjson/dotformat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package testjson
import (
"bytes"
"math/rand"
"os"
"runtime"
"testing"
"testing/quick"
Expand All @@ -18,7 +19,8 @@ import (
)

func TestScanTestOutput_WithDotsFormatter(t *testing.T) {
skip.If(t, runtime.GOOS == "windows" || runtime.GOOS == "darwin")
skip.If(t, runtime.GOOS == "windows")
skip.If(t, os.Getenv("CI") == "true", "flaky on Github Actions")

out := new(bytes.Buffer)
dotfmt := &dotFormatter{
Expand Down

0 comments on commit b9afca8

Please sign in to comment.