You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(auth): the database tests pass on a busy machine without timing out #708
On a busy machine, a full just db test fails a different handful of tests each run, and each one then passes alone. We saw this through the cleanup pass on a 16-core machine whose load average ran from 40 to 170 while several agents built and tested at once. The failures are timeouts in the test setup and in tests waiting on locks, not wrong results:
Connection pool:PoolTimedOut while a test connects (one run had 14 failures at the default thread count, another 7 at a load average around 78). Email and deletion tests were among them.
Migrations: "migrate: the database operation timed out" in fixtures that migrate a scratch schema (5 tests in one run).
Lock waits:
invitation_revocation_waits_for_signup and revoked_invitations_cannot_be_redeemed timed out on a database lock in the admin test harness.
Activity