Skip to content

tests: improve test isolation for parallel runs. - #419

Merged
zhuizhuhaomeng merged 1 commit into
masterfrom
tests-parallel
Nov 6, 2026
Merged

zhuizhuhaomeng merged 1 commit into
masterfrom
tests-parallel

Conversation

@zhuizhuhaomeng

Copy link
Copy Markdown
Contributor

Replace global memcached flushes with read-only probes or single-key writes, and isolate stored values with per-process test key prefixes. Use allocated TLS ports so concurrent test files do not share listeners.

Make receiveany assertions independent of TCP fragmentation, flush output explicitly in abort and semaphore checks, and allow more time for TLS callback cancellation. Separate Lua VM pool cleanup from idle timeout and re-enable preread keepalive coverage on newer nginx versions.

Validation: git diff --cached --check passes. A 10-job run of all 23 changed test files passes 20 files. Google TLS handshakes fail in 129-ssl-socket.t and 170-ssl-session-reuse.t. Queue regressions fail in 068-socket-keepalive.t with the existing nginx 1.31.0 binary, which was built before the branch's connection pool fixes. No rebuild was run.

Replace global memcached flushes with read-only probes or single-key
writes, and isolate stored values with per-process test key prefixes.
Use allocated TLS ports so concurrent test files do not share listeners.

Make receiveany assertions independent of TCP fragmentation, flush output
explicitly in abort and semaphore checks, and allow more time for TLS
callback cancellation. Separate Lua VM pool cleanup from idle timeout
and re-enable preread keepalive coverage on newer nginx versions.

Validation: git diff --cached --check passes. A 10-job run of all 23
changed test files passes 20 files. Google TLS handshakes fail in
129-ssl-socket.t and 170-ssl-session-reuse.t. Queue regressions fail in
068-socket-keepalive.t with the existing nginx 1.31.0 binary, which was
built before the branch's connection pool fixes. No rebuild was run.
@zhuizhuhaomeng
zhuizhuhaomeng merged commit 9041928 into master Nov 6, 2026
2 checks passed
@zhuizhuhaomeng
zhuizhuhaomeng deleted the tests-parallel branch November 6, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant