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

Remove failing test which mocked now sealed InetAddress class #86490

Merged

Conversation

slobodanadamovic
Copy link
Contributor

Removing testIsAnyLocalAddress because InetAddress class cannot be mocked anymore (well not without enabling experimental mockito plugin). The class is marked as sealed in Java 19.
testIsAnyLocalAddress was simply testing if InetAddress#isAnyLocalAddress method was the only one called. Since this test is not adding particular value, I think removal is justified.

Closes #86418

@slobodanadamovic slobodanadamovic added >test-failure Triaged test failures from CI Team:Security Meta label for security team labels May 5, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@slobodanadamovic slobodanadamovic added the :Security/TLS SSL/TLS, Certificates label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/TLS SSL/TLS, Certificates Team:Security Meta label for security team >test-failure Triaged test failures from CI v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] CertGenUtilsTests testIsAnyLocalAddress failing
4 participants