Skip to content

Auto-port 4.1: Stabilize testSessionInvalidate for Conscrypt#16616

Merged
chrisvest merged 1 commit into
4.1from
auto-port-pr-16615-to-4.1
Apr 9, 2026
Merged

Auto-port 4.1: Stabilize testSessionInvalidate for Conscrypt#16616
chrisvest merged 1 commit into
4.1from
auto-port-pr-16615-to-4.1

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16615 to 4.1
Cherry-picked commit: b2662ca


Motivation:
For TLSv1.3 I think Conscrypt only adds sessions to its cache once the NewSessionTicket has been issued, and attempts to invalidate the session before this point has no effect, which made the test flaky.

Modification:
Add rounds of packet transfers to the test to ensure that TLSv1.3 always issues NewSessionTicket messages prior to the invalidation of the session.

Result:
More stable build.

Motivation:
For TLSv1.3 I think Conscrypt only adds sessions to its cache once the
NewSessionTicket has been issued, and attempts to invalidate the session
before this point has no effect, which made the test flaky.

Modification:
Add rounds of packet transfers to the test to ensure that TLSv1.3 always
issues NewSessionTicket messages prior to the invalidation of the
session.

Result:
More stable build.

(cherry picked from commit b2662ca)
@chrisvest chrisvest added this to the 4.1.133.Final milestone Apr 8, 2026
@chrisvest chrisvest enabled auto-merge (squash) April 8, 2026 21:56
@chrisvest chrisvest merged commit 7c02257 into 4.1 Apr 9, 2026
18 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16615-to-4.1 branch April 9, 2026 00:08
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.

2 participants