diff --git a/Dockerfile b/Dockerfile index 2bf5919..96d5b69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,10 @@ RUN go mod download COPY . . FROM source AS test -RUN go test ./... +# Test packages create independent SQLite stores. Serialize packages to avoid +# concurrent server/store initialization exhausting the shared runner's I/O. +# Keep production database deadlines and the complete test suite unchanged. +RUN go test -p 1 ./... FROM source AS runtime RUN go build -o /pageswiki ./cmd/pageswiki