File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -628,13 +628,14 @@ jobs:
628628 # instances where tests appear to hang for multiple seconds, resulting in flaky tests when
629629 # short timeouts are used.
630630 # c.f. discussion on https://github.com/coder/coder/pull/15106
631- # Our Linux runners have 32 cores, but we use reduced parallelism for race detection.
631+ # Our Linux runners have 32 cores, but we reduce parallelism since race detection adds a lot of overhead.
632+ # We aim to have parallelism match CPU count (8*4=32) to avoid making flakes worse.
632633 - name : Run Tests
633634 uses : ./.github/actions/test-go-pg
634635 with :
635636 postgres-version : " 17"
636- test-parallelism-packages : " 16 "
637- test-parallelism-tests : " 8 "
637+ test-parallelism-packages : " 8 "
638+ test-parallelism-tests : " 4 "
638639 race-detection : " true"
639640
640641 - name : Upload Test Cache
You can’t perform that action at this time.
0 commit comments