Run the internal/handlers tests in parallel (closes #194) #204

Merged
clawbot merged 1 commits from issue-194-handlers-test-time into next 2026-10-27 08:28:29 +01:00
1 Commits
Author SHA1 Message Date
clawbot f318524d6e Run the internal/handlers tests in parallel (closes #194)
check / check (push) Waiting to run
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 ircserver and
db tests 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
2026-10-27 06:42:45 +00:00