Skip to content

Fix test for deployment#1364

Merged
teddytpc1 merged 6 commits intomainfrom
bug/1340-fix-PR-test
Mar 30, 2026
Merged

Fix test for deployment#1364
teddytpc1 merged 6 commits intomainfrom
bug/1340-fix-PR-test

Conversation

@vcerenu
Copy link
Copy Markdown
Member

@vcerenu vcerenu commented Mar 27, 2026

@vcerenu vcerenu linked an issue Mar 27, 2026 that may be closed by this pull request
@vcerenu vcerenu force-pushed the bug/1340-fix-PR-test branch from f234481 to f4b63a1 Compare March 30, 2026 16:09
@vcerenu vcerenu marked this pull request as ready for review March 30, 2026 16:46
@vcerenu vcerenu requested review from a team and Copilot March 30, 2026 16:46
@vcerenu vcerenu self-assigned this Mar 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to stabilize the Kubernetes deployment CI checks by addressing flakiness in the “manager services running” test and adjusting manager pod resources, per issue #1340.

Changes:

  • Increase Wazuh manager (master/worker) container memory limits to reduce process restarts during tests.
  • Relax the pytest assertion for manager running services from >= 10 to >= 7.
  • Update CHANGELOG.md to record the fix.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
wazuh/wazuh_managers/wazuh-worker-sts.yaml Raises worker manager memory limit to reduce restarts during CI.
wazuh/wazuh_managers/wazuh-master-sts.yaml Raises master manager memory limit to reduce restarts during CI.
tests/k8s_pytest.py Lowers the minimum expected running services in the manager status test.
CHANGELOG.md Adds entry documenting the deployment test fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/k8s_pytest.py
Comment thread wazuh/wazuh_managers/wazuh-master-sts.yaml Outdated
Comment thread wazuh/wazuh_managers/wazuh-worker-sts.yaml Outdated
vcerenu and others added 3 commits March 31, 2026 04:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@teddytpc1 teddytpc1 merged commit 1471f78 into main Mar 30, 2026
1 check passed
@teddytpc1 teddytpc1 deleted the bug/1340-fix-PR-test branch March 30, 2026 19:32
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.

Fix test for deployment

3 participants