Skip to content

test: deflake TimedCertValidator integration tests - #48599

Merged
yanavlasov merged 1 commit into
envoyproxy:mainfrom
asedeno:timed-validator-test-adjustments
Oct 23, 2026
Merged

yanavlasov merged 1 commit into
envoyproxy:mainfrom
asedeno:timed-validator-test-adjustments

Conversation

@asedeno

@asedeno asedeno commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Null-guard TimedCertValidator::validationPending() and add a callback when cert validation starts so QuicHttpIntegrationTest only lowers the QUIC handshake timeout once doVerifyCertChain() is reached. Also allow updating the validation timeout directly on TimedCertValidator so tests can immediately expire the pending timer after disconnect/teardown instead of busy-waiting.

Risk Level: low; test only
Testing: CI, local testing

AI was used in debugging and authoring this PR.

Null-guard `TimedCertValidator::validationPending()` and add a callback
when cert validation starts so `QuicHttpIntegrationTest` only lowers the
QUIC handshake timeout once `doVerifyCertChain()` is reached. Also allow
updating the validation timeout directly on `TimedCertValidator` so tests
can immediately expire the pending timer after disconnect/teardown instead
of busy-waiting.

Signed-off-by: Alejandro R. Sedeño <[email protected]>
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #48599 was opened by asedeno.

see: more, trace.

@asedeno
asedeno marked this pull request as ready for review October 22, 2026 21:25
@yanavlasov
yanavlasov merged commit 07744f1 into envoyproxy:main Oct 23, 2026
27 checks passed
jwendell pushed a commit that referenced this pull request Nov 12, 2026
Null-guard `TimedCertValidator::validationPending()` and add a callback
when cert validation starts so `QuicHttpIntegrationTest` only lowers the
QUIC handshake timeout once `doVerifyCertChain()` is reached. Also allow
updating the validation timeout directly on `TimedCertValidator` so
tests can immediately expire the pending timer after disconnect/teardown
instead of busy-waiting.

Risk Level: low; test only
Testing: CI, local testing

AI was used in debugging and authoring this PR.

Signed-off-by: Alejandro R. Sedeño <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
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