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

Migrate VDT IT to System tests #4257

Closed
3 tasks
Deblintrake09 opened this issue Jun 28, 2023 · 1 comment
Closed
3 tasks

Migrate VDT IT to System tests #4257

Deblintrake09 opened this issue Jun 28, 2023 · 1 comment

Comments

@Deblintrake09
Copy link
Contributor

Deblintrake09 commented Jun 28, 2023

Description

During the migration of VDT IT tests to the wazuh repository wazuh/wazuh#17403 it was determined that some modules were not IT tests and actually were System tests. This Issue aims to create new system tests from the IT modules. After the new system tests are created, the IT modules should be deleted.

Test modules to adapt to system tests

  • test_vulnerability_detect/test_feeds/test_download_feeds.py
  • test_vulnerability_detect/test_feeds/test_validate_feed_content.py
  • test_vulnerability_detect/test_feeds/test_msu_inventory.py

Considerations

  • After new system tests are created, the IT modules should be deleted.
  • It is important that during research for the creation of new tests, correct and 'reasonable' timeouts are created for all test cases.
    • NVD tests take around 10 minutes because of how large the feed is and download speeds
    • SUSE feeds are located in an FTP server that sometimes takes up to 70 minutes to download the files (usually around 3 mins).
@davidjiglesias
Copy link
Member

We are already approaching system tests for the different modules, including VD in a different way. For example: #4369

@davidjiglesias davidjiglesias closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants