Skip to content

Commit 28ccb60

Browse files
Increase the number of test runs to 20 to capture rarer flake scenarios (#2407)
1 parent 1957032 commit 28ccb60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/flake-detector.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
run: go mod download
3333

3434
- name: Test all except caching parallely
35-
run: CGO_ENABLED=0 go test -count 5 -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` `go list ./... | grep -v internal/cache/...`
35+
run: CGO_ENABLED=0 go test -count 20 -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` `go list ./... | grep -v internal/cache/...`
3636

3737
- name: Test caching
38-
run: CGO_ENABLED=0 go test -p 1 -count 5 -v -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` ./internal/cache/...
38+
run: CGO_ENABLED=0 go test -p 1 -count 20 -v -skip `cat flaky_tests.lst | go run tools/scripts/skip_tests/main.go` ./internal/cache/...
3939

4040
- name: Cache RaceDetector Test
41-
run: CGO_ENABLED=0 go test -p 1 -count 5 ./internal/cache/...
41+
run: CGO_ENABLED=0 go test -p 1 -count 20 ./internal/cache/...

0 commit comments

Comments
 (0)