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 2.x] Renamed index to avoid collision for other tests #874

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.

Manual backport for 2.10 in #873

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.

@kavilla
Copy link
Member

kavilla commented Sep 18, 2023

should it be in main?

@amsiglan
Copy link
Contributor Author

should it be in main?

Yes, created PR #879

@ruanyl
Copy link
Member

ruanyl commented Sep 20, 2023

should it be in main?

Yes, created PR #879

btw, you could leverage the backport workflow to port the changes to main

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
@kavilla kavilla merged commit c9ee445 into opensearch-project:2.x Oct 4, 2023
33 of 34 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.

4 participants