Skip to content

fix: exclude system indices - #146

Merged
utnapischtim merged 1 commit into
inveniosoftware:masterfrom
mesemus:exclude-system-indices
Nov 19, 2026
Merged

utnapischtim merged 1 commit into
inveniosoftware:masterfrom
mesemus:exclude-system-indices

Conversation

@mesemus

@mesemus mesemus commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Description

Opensearch default plugin, ML Common, runs a cron that creates a system index .plugins-ml-config. If this happens during a test that checks the indices created, the test will fail.

This PR provides a new fixture, search_index_names which returns a set of index names excluding these indices, making tests stable.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@mesemus
mesemus force-pushed the exclude-system-indices branch from c46088d to b2af58d Compare November 16, 2026 09:34
* ML Common plugin creates system index in cron.
  If this happens during a test that checks
  the indices created, the test will fail.
* search_index_names fixture returns a set
  of index names excluding these indices,
  making tests stable
@mesemus
mesemus force-pushed the exclude-system-indices branch from b2af58d to 6eb5fa0 Compare November 16, 2026 09:35
@utnapischtim
utnapischtim merged commit 62c368a into inveniosoftware:master Nov 19, 2026
2 of 3 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.

2 participants