TestOpen_SQLiteSharedFileWritersWait (internal/sqldb/sqldb_test.go) failed once during a full go test -short -race ./... run while internal/requestlog was executing concurrently on the same disk:
sqldb_test.go:175: write against a shared SQLite file failed instead of waiting: database is locked (5) (SQLITE_BUSY)
sqldb_test.go:180: 9 of 100 writes failed
--- FAIL: TestOpen_SQLiteSharedFileWritersWait (54.95s)
The same test passes 3/3 with -count=3 -race in isolation, and internal/sqldb was not modified. The 100 concurrent writers appear to exceed the busy timeout when the host disk is under contention from other packages' tests.
Options: raise the busy timeout the test opens with, reduce writer count, or serialise the package with the other SQLite-heavy packages via -p in the pre-push hook.
TestOpen_SQLiteSharedFileWritersWait(internal/sqldb/sqldb_test.go) failed once during a fullgo test -short -race ./...run whileinternal/requestlogwas executing concurrently on the same disk:The same test passes 3/3 with
-count=3 -racein isolation, andinternal/sqldbwas not modified. The 100 concurrent writers appear to exceed the busy timeout when the host disk is under contention from other packages' tests.Options: raise the busy timeout the test opens with, reduce writer count, or serialise the package with the other SQLite-heavy packages via
-pin the pre-push hook.