diff --git a/.circleci/config.yml b/.circleci/config.yml index 4d38e420..fa8399ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: sysctl fs.inotify.max_user_watches fs.inotify.max_user_instances ulimit -a go version - go test -race -parallel 1 ./... + go test -parallel 1 -race ./... # iOS ios: @@ -50,7 +50,7 @@ jobs: export PATH=$PATH:/usr/local/Cellar/go/*/bin uname -a go version - go test -race -parallel 1 ./... + go test -parallel 1 -race ./... # This is just Linux x86_64; also need to get a Go with GOOS=android, but # there aren't any pre-built versions of that on the Go site. Idk, disable for @@ -78,5 +78,5 @@ jobs: # uname -a # export PATH=/usr/local/go/bin:$PATH # go version - # go test -race -parallel 1 ./... + # go test -parallel 1 -race ./... # diff --git a/.cirrus.yml b/.cirrus.yml index 0774c6b4..d9a74da9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -9,4 +9,4 @@ freebsd_task: # run tests as user "cirrus" instead of root - pw useradd cirrus -m - chown -R cirrus:cirrus . - - sudo -u cirrus go test -race -parallel 1 ./... + - sudo -u cirrus go test -parallel 1 -race ./... diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fb10945..777d7a43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: test run: | - go test -race -parallel 1 ./... + go test -parallel 1 -race ./... # Test gccgo testgcc: @@ -70,7 +70,7 @@ jobs: - name: test run: | - go test -race -parallel 1 ./... + go test -parallel 1 -race ./... # OpenBSD; no -race as the VM doesn't include the comp set. # diff --git a/fsnotify_test.go b/fsnotify_test.go index 7dad8673..5fb7f2ec 100644 --- a/fsnotify_test.go +++ b/fsnotify_test.go @@ -35,7 +35,7 @@ func TestMain(m *testing.M) { c1 := m.Run() os.Setenv("FSNOTIFY_BUFFER", "1") c2 := m.Run() - os.Setenv("FSNOTIFY_BUFFER", "1024") + os.Setenv("FSNOTIFY_BUFFER", "64") c3 := m.Run() if c1 != 0 {