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

test: fix tests broken by improved data #3160

Merged
merged 3 commits into from
Jul 18, 2023
Merged

Conversation

terriko
Copy link
Contributor

@terriko terriko commented Jul 15, 2023

The improvement to avoid data from multiple sources from clobbering each other caused a few tests to suddenly get new results, so they needed to be updated.

This doesn't feel like the most "correct" fix for the package lsit parser's test_valid_ubuntu_list, but that one may need more investigation. This should be ok as a workaround while we sort out the data issue that's causing us to get "unknown" vendors.

* Fixes intel#3157

The improvement to avoid data from multiple sources from clobbering
each other caused a few tests to suddenly get new results, so they
needed to be updated.

This doesn't feel like the most "correct" fix for the package lsit parser's
test_valid_ubuntu_list, but that one may need more investigation. This
should be ok as a workaround while we sort out the data issue that's
causing us to get "unknown" vendors.

Signed-off-by: Terri Oda <terri@toybox.ca>
Signed-off-by: Terri Oda <terri@toybox.ca>
@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2023

Codecov Report

Merging #3160 (c6dd564) into main (3704d2a) will increase coverage by 0.72%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3160      +/-   ##
==========================================
+ Coverage   80.70%   81.43%   +0.72%     
==========================================
  Files         714      716       +2     
  Lines       10943    11085     +142     
  Branches     1264     1488     +224     
==========================================
+ Hits         8832     9027     +195     
+ Misses       1704     1666      -38     
+ Partials      407      392      -15     
Flag Coverage Δ
longtests 75.93% <100.00%> (?)
win-longtests 79.34% <100.00%> (-1.36%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/test_language_scanner.py 92.85% <100.00%> (+0.10%) ⬆️
test/test_package_list_parser.py 94.33% <100.00%> (+7.54%) ⬆️

... and 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Terri Oda <terri@toybox.ca>
@terriko
Copy link
Contributor Author

terriko commented Jul 18, 2023

Thanks @nedsouza !

@terriko terriko merged commit 754c8bf into intel:main Jul 18, 2023
21 checks passed
@terriko terriko deleted the data_test_fixes branch July 18, 2023 21:42
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.

test: currently failing tests
3 participants