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

parallelize test_json #772

Merged
merged 2 commits into from
Jun 30, 2020
Merged

parallelize test_json #772

merged 2 commits into from
Jun 30, 2020

Conversation

Niraj-Kamdar
Copy link
Contributor

@Niraj-Kamdar Niraj-Kamdar commented Jun 30, 2020

test_json can now be run in parallel with pytest -n 4 test/test_json.py:

=================================================== 19 passed, 4 warnings in 85.99s (0:01:25) ====================================================

It is significantly faster now. Past implementation was taking roughly 10 minutes to run.

@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2020

Codecov Report

Merging #772 into master will decrease coverage by 0.02%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #772      +/-   ##
==========================================
- Coverage   88.33%   88.31%   -0.03%     
==========================================
  Files         137      137              
  Lines        2478     2473       -5     
  Branches      302      301       -1     
==========================================
- Hits         2189     2184       -5     
  Misses        225      225              
  Partials       64       64              
Flag Coverage Δ
#longtests 88.31% <85.71%> (-0.03%) ⬇️
Impacted Files Coverage Δ
test/test_json.py 89.65% <85.71%> (-1.53%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca4b2d9...e560fb3. Read the comment docs.

@terriko
Copy link
Contributor

terriko commented Jun 30, 2020

This is a great improvement, thank you!

@terriko terriko merged commit 53e2914 into intel:master Jun 30, 2020
@Niraj-Kamdar Niraj-Kamdar deleted the test branch July 1, 2020 04:28
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.

3 participants