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

[Index-mgmt] Renamed index to avoid collision for other tests #879

Conversation

amsiglan
Copy link
Contributor

Description

During one of the tests for indices, we create an index with name reindex_opensearch_dashboards_sample_data_ecommerce that is superstring for the sample index opensearch_dashboards_sample_data_ecommerce. This new index is supposed to get deleted but sometimes it might not get deleted due to failure in backend and after that if some other test looks for the sample index and tries to select that index from a combo box, it faces collision and might end up not selecting any index. This PR renames the new index to avoid this situation.

Issues Resolved

Fixes flaky test in Index Management Dashboards - opensearch-project/index-management-dashboards-plugin#880

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Amardeepsingh Siglani <[email protected]>
@Hailong-am Hailong-am merged commit 53bd5f8 into opensearch-project:main Mar 19, 2024
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants