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

[BUG] The Integration tests do not clean up after themselves #260

Open
kimpepper opened this issue Jan 23, 2025 · 0 comments
Open

[BUG] The Integration tests do not clean up after themselves #260

kimpepper opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@kimpepper
Copy link
Collaborator

kimpepper commented Jan 23, 2025

What is the bug?

The integration tests don't clean up the indexes they create. There is a method to do this in \OpenSearch\Tests\Utility::cleanUpCluster() but it is never called.

This was discovered through the phpstan warnings generated in #259

::cleanUpCluster() also calls ::deleteAllSLMPolicies() which tries to call a non-existent legacy slm endpoint which would throw an error.

How can one reproduce the bug?

What is the expected behavior?

Integration tests clean up after themselves

What is your host/environment?

Main dev branch.

Do you have any screenshots?

Do you have any additional context?

@kimpepper kimpepper added bug Something isn't working untriaged labels Jan 23, 2025
@dblock dblock removed the untriaged label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants