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

Fix SecurityNetty4HttpServerTransportTests #96178

Merged
merged 3 commits into from
May 17, 2023

Conversation

albertzaharovits
Copy link
Contributor

@albertzaharovits albertzaharovits commented May 16, 2023

Skips SecurityNetty4HttpServerTransportTests
testMalformedRequestDispatchedNoAuthn
under turkish-like locales because the asserted
messages are internally processed with
String#toUpper(). This results in different
error messages under such locales, and it's
easier to skip the test entirely than to assert
the different messages.

Closes: #95983

@albertzaharovits albertzaharovits self-assigned this May 16, 2023
@albertzaharovits albertzaharovits added >test Issues or PRs that are addressing/adding tests :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC v8.9.0 labels May 16, 2023
@albertzaharovits albertzaharovits marked this pull request as ready for review May 16, 2023 17:59
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Security Meta label for security team label May 16, 2023
@albertzaharovits albertzaharovits merged commit 92b289a into elastic:main May 17, 2023
@albertzaharovits albertzaharovits deleted the fix-95983 branch May 17, 2023 06:31
albertzaharovits added a commit to albertzaharovits/elasticsearch that referenced this pull request Jun 19, 2023
Skips SecurityNetty4HttpServerTransportTests
testMalformedRequestDispatchedNoAuthn
under turkish-like locales because the asserted
messages are internally processed with
String#toUpper(). This results in different
error messages under such locales, and it's
easier to skip the test entirely than to assert
the different messages.

Closes: elastic#95983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SecurityNetty4HttpServerTransportTests testMalformedRequestDispatchedNoAuthn failing
2 participants