f1c9014cd's macOS Test run went red with internal/gateway past go test's
30m alarm while the test then running was 1s in: no test hung, the
package as a whole ran out. Its tests run one at a time (t.Setenv rules
out t.Parallel), and the package grew from 450-600s on macOS runners
(10-28, 56602426d) to 965s on the green run before, and 892s for 4286
tests on mote, none over 20s. A longer timeout would be met again the
same way; Race already runs the same tests in chunks through
build/race-shards.sh (#5361).
The Test step now runs every other package as before, and the gateway's
plain test binary through race-shards.sh. The plain run stays: it sends
the full 64 MB bodies and runs the pool tests -race skips (raceOn).
Run on mote at this change (origin/main a5e3972a7):
- go test -c ./internal/gateway/, then build/race-shards.sh with 18
workers and -test.timeout=20m: 4300 tests in 135 chunks, 125s, exit 0
(twice; the second run's status taken from the script, not a pipe)
- go list ./... | grep -v '/internal/gateway$': 121 packages, the
gateway's subpackage kept
Not run: the workflow itself; this push's own Test run is its check,
on Linux (gtk3 tags) and macOS.