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

Add new packages to some cases in E2E VD tests #5349

Merged
merged 3 commits into from
May 9, 2024

Conversation

MARCOSD4
Copy link
Member

@MARCOSD4 MARCOSD4 commented May 8, 2024

Description

This PR aims to add new packages to the test cases in E2E Vulnerability Detection tests and fix one of them by adding a precondition to resolve the setup problem. The test cases are upgrade_package_add_vulnerability and upgrade_package_maintain_add_vulnerability.

Testing performed

The E2E test was launched in an environment consisting of a manager and a MacOS agent. In the report generated if we look at manager1alert.json we can see that the alerts have been generated and in alerts_found_in_index we can see the vulnerabilities detected in the index although they are duplicated. In short, the test is working correctly but it is failing due to a known issue that will be incorporated in the next stage and due to a product issue related to duplicate vulnerabilities.

report.zip

santipadilla
santipadilla previously approved these changes May 8, 2024
@santipadilla santipadilla self-requested a review May 8, 2024 16:05
@santipadilla
Copy link
Member

Please update the changelog

@santipadilla
Copy link
Member

LGTM

@juliamagan juliamagan merged commit 6c797cc into 4.8.0 May 9, 2024
1 of 2 checks passed
@juliamagan juliamagan deleted the bug/5333-fix-upgrade-cases branch May 9, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants