Skip to content

test: fix flaky test at boringssl environment - #2480

Merged
zhuizhuhaomeng merged 3 commits into
openresty:masterfrom
oowl:fix-ci-fail
Mar 10, 2026
Merged

zhuizhuhaomeng merged 3 commits into
openresty:masterfrom
oowl:fix-ci-fail

Conversation

@oowl

@oowl oowl commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

Copilot AI review requested due to automatic review settings March 10, 2026 07:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the t/170-proxy-ssl-cert.t test gating so the entire file is skipped when the test runner’s Nginx is using BoringSSL, aligning this test’s runtime requirements with other SSL-related test constraints in the suite.

Changes:

  • Detect BoringSSL via nginx -V output and plan(skip_all ...) for this file.
  • Preserve existing OpenSSL-version-based skipping and test planning logic for non-BoringSSL builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread t/170-proxy-ssl-cert.t Resolved
zhuizhuhaomeng
zhuizhuhaomeng previously approved these changes Mar 10, 2026
Comment thread t/170-ssl-session-reuse.t
}
}
--- config
# fixme: getsslsession doesn't work with BoringSSL TLSv1.3 case, temporarily disable TLSv1.3 for this test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created a issue: #2481

@oowl oowl changed the title test: skip t/170-proxy-ssl-cert.t test for BoringSSL case test: fix flaky test at boringssl environment Mar 10, 2026
@zhuizhuhaomeng
zhuizhuhaomeng merged commit f1c09a3 into openresty:master Mar 10, 2026
4 checks passed
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.

3 participants