opensearch-php icon indicating copy to clipboard operation
opensearch-php copied to clipboard

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

Open kimpepper opened this issue 11 months ago • 0 comments

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 avatar Jan 23 '25 08:01 kimpepper