-
Notifications
You must be signed in to change notification settings - Fork 9
[BUG] Content Manager flaky integration tests #408
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
Comments
I've been investigating the issue, to fix it I attempted to mock the |
Testing the bug In a development environment, I was able to reproduce it by following the steps from this comment:
I think that we thought It was not happening in a development environment because we forgot to do the steps from the comment previously mentioned. |
Describe the bug
The integration tests from the Content Manager often fail on GitHub Runners caused by Java Heap out of memory errors.
These errors are caused by the content manager downloading and indexing the snapshot on each test run.
We need to improve these tests to do not initialize from a snapshot.
Expected behavior
The integration tests set up and mock the environment correctly, skipping or mocking the initialization from snapshots on each test.
Plugins
Content Manager.
Additional context
Example in https://github.com/wazuh/wazuh-indexer-plugins/actions/runs/14858193917/job/41716397598
The text was updated successfully, but these errors were encountered: