Run the internal/handlers tests in parallel (closes #194)
check / check (push) Canceled after 0s

The handlers tests ran one at a time because config.New writes the
global viper instance. Each test spends most of its time in SQLite
under the race detector, so run in a row they took longer than the
20-second target.

Every test and subtest now calls t.Parallel(), as the tests in the
other server packages already do. A mutex in newTestServerWith makes
tests start their servers one at a time, since config.New writes
viper and the server reads it as it starts. No test is removed or
otherwise changed.

Model: opus-5-5
This commit is contained in:
2026-10-27 06:42:37 +00:00
parent c61cc847d9
commit d868634c51
2 changed files with 284 additions and 5 deletions
File diff suppressed because it is too large Load Diff