You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
When the plugin install tests run they use src/test/java/org/opensearch/security/sanity/tests/SingleClusterSanityIT.java to make sure the cluster is operational. However, the user the admin cert - not the username and password. This prevented detecting that the username and password logic was not correctly configured
How can one reproduce the bug?
Manually execute the steps from the workflow file .github/workflows/plugin_install.yml
The text was updated successfully, but these errors were encountered:
peternied
added
bug
Something isn't working
untriaged
Require the attention of the repository maintainers and may need to be prioritized
labels
Sep 26, 2023
davidlago
added
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
and removed
untriaged
Require the attention of the repository maintainers and may need to be prioritized
labels
Oct 2, 2023
@peternied I believe this issue can be closed. The tests fail when I supply a wrong password. This test in particular, checks to ensure that the password configured is correct.
These sanity tests extend OpenSearchRestTestCase which configures 2 separate rest clients:
client
adminClient
The adminClient is configured to send REST requests with the admin certificate, but this client is not used for the sanity tests.
What is the bug?
When the plugin install tests run they use
src/test/java/org/opensearch/security/sanity/tests/SingleClusterSanityIT.java
to make sure the cluster is operational. However, the user the admin cert - not the username and password. This prevented detecting that the username and password logic was not correctly configuredHow can one reproduce the bug?
.github/workflows/plugin_install.yml
What is the expected behavior?
The tests should fail if the password is not valid
Do you have any additional context?
The text was updated successfully, but these errors were encountered: