Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Modify assert statement for ssl handshake (#32072) #40530

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

benwtrent
Copy link
Member

There have been changes in error messages for SSLHandshakeException.
This has caused a couple of failures in our tests.
This commit modifies test verification to assert on exception type of
class SSLHandshakeException.
There was another issue in Java11 which caused NPE. The bug has now
been fixed on Java11 - early access build 22.
Bug Ref: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8206355
Enable the skipped tests due to this bug.

Closes #31940

This test now fails in the Java12 builds of the 6.7 branch as we only checked for Java 11 when assuming the failure.

Backporting the fix made by @bizybot into 6.7

There have been changes in error messages for `SSLHandshakeException`.
This has caused a couple of failures in our tests.
This commit modifies test verification to assert on exception type of
class `SSLHandshakeException`.
There was another issue in Java11 which caused NPE. The bug has now
been fixed on Java11 - early access build 22.
Bug Ref: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8206355
Enable the skipped tests due to this bug.

Closes elastic#31940
@benwtrent benwtrent added >test Issues or PRs that are addressing/adding tests >test-failure Triaged test failures from CI :Security/TLS SSL/TLS, Certificates backport labels Mar 27, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@benwtrent
Copy link
Member Author

Previous PR that was backported to 7.0, 7.x #32072

@benwtrent
Copy link
Member Author

run elasticsearch-ci/packaging-sample

@benwtrent
Copy link
Member Author

run elasticsearch-ci/2
run elasticsearch-ci/packaging-sample

@benwtrent benwtrent merged commit 5698345 into elastic:6.7 Mar 27, 2019
@benwtrent benwtrent deleted the fix/31940-backport branch March 27, 2019 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Security/TLS SSL/TLS, Certificates >test Issues or PRs that are addressing/adding tests >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants