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

[FEATURE] Test cases should clean up the data it created #331

Open
rawwar opened this issue Nov 2, 2023 · 2 comments
Open

[FEATURE] Test cases should clean up the data it created #331

rawwar opened this issue Nov 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@rawwar
Copy link
Contributor

rawwar commented Nov 2, 2023

Is your feature request related to a problem?
Currently, test cases are leaving indexes, model and other data behind in the OpenSearch instance it connects to. Also, if the index already exists, we are deleting them. I think this is fine if we are using new instance of OpenSearch just for the tests. But, when connecting to a instance that's not just for test cases, this is causing issues as its deleting indexes and leaving data behind.

What solution would you like?
Tests should handle the task of cleaning up the data. Also, creation of test data should follow a pattern that's unique and obscure in general use so that it doesn't cause issues.

What alternatives have you considered?
None

@rawwar rawwar added enhancement New feature or request untriaged labels Nov 2, 2023
@rawwar

This comment was marked as outdated.

@dhrubo-os
Copy link
Collaborator

Sure!

@rawwar rawwar removed their assignment Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants