-
Notifications
You must be signed in to change notification settings - Fork 30
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
Full Yellow Local - Fix Vulnerability Detector tests in 4.2 #1755
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set 2020 as the minimum update year for redhat, nvd and msu feeds. Closes: #1542
Delete duplicate lines that stop and start the wazuh-db service again. Closes: #1542
Change year of feed update in `test_download_feeds.py`
Clear log file before run each use case in `test_invalid_syntax_redhat_feed.py`
Clear log file before run each use case in `test_invalid_values_redhat_feed.py`
Clear log file before run each use case in `test_missing_fields_redhat_feed.py`
…rs.yaml file Closes: #1637
fix: Clear log file before run each use case Closes: #1644
…-time Enable V.D. at startup to create the CVE database in `test_general_settings_ignore_time.py`
Apply correct formatting to `wazuh_providers_multiple_providers.yaml`
fix: Reduce the update interval of the NVD feed refac: Remove unnecessary modulesd service restarting refac: Reduce log-monitor timeout Closes: #1565
The reason is that for the log required by the test to be written, this table must not be empty. Closes: #1565
Fix and optimize: `test_cpe_indexing.py`
Timeout Extended to Vulnerability Detector Tests
Disable blocked Vuln Detect tests
Due to issue: wazuh/wazuh#9309 Closes: #1565
Disable `test_cpe_indexing.py` (change of reason)
Random failures due to database locking by the issue: wazuh/wazuh#9309 Related: #1545
…nical-feed Disable `test_extra_tags_canonical_feed.py`
Fix `DeprecationWarning` in `test_providers_multiple_providers.py`
damarisg
changed the title
1531 full yellow vuln det
Full Yellow Local - Fix Vulnerability Detector tests in 4.2
Aug 23, 2021
LGTM.
|
34 tasks
TomasTurina
pushed a commit
that referenced
this pull request
Sep 1, 2021
Full Yellow Local - Fix Vulnerability Detector tests in 4.2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Settings
Package Details
Setup Local_internal_opcion.conf
pytest_args
python3 -m pytest -ssv --html=report.html --self-contained-html test_vulnerability_detector/
Description
After research #1493, we saw that Vulnerability Detector tests were inconsistent.
Issue #1531 was created In order to fix these tests cases.
Linux
Linux tests are working properly with no errors ahead.
Test Results