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: use xdist #15369

Closed
wants to merge 2 commits into from
Closed

Test: use xdist #15369

wants to merge 2 commits into from

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Feb 11, 2017

on top of #15369
xref #15341

pytest pandas --skip-slow --skip-network -m "not single" -n 4

(pandas) bash-3.2$ ./test_fast.sh 
==================================================================================================== test session starts ====================================================================================================
platform darwin -- Python 3.5.2, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
rootdir: /Users/jreback/pandas, inifile: setup.cfg
plugins: cov-2.4.0, xdist-1.15.0
gw0 [11470] / gw1 [11470] / gw2 [11470] / gw3 [11470]
scheduling tests via LoadScheduling
.....s...ss......s...s....s....s.....s...s...s.s......................s..............s......s...s................s......s...ss.....s......................................................................................................................................s..s.s.s......................................................................................................................................................................................s.```

=============== 11046 passed, 424 skipped in 170.96 seconds

@jreback jreback added the Testing pandas testing functions or related to the test suite label Feb 11, 2017
@jreback jreback added this to the 0.20.0 milestone Feb 11, 2017
@TomAugspurger TomAugspurger mentioned this pull request Feb 11, 2017
17 tasks
@jreback jreback force-pushed the xdist branch 8 times, most recently from f07d0d0 to 0f408f1 Compare February 12, 2017 02:32
@codecov-io
Copy link

codecov-io commented Feb 12, 2017

Codecov Report

Merging #15369 into master will decrease coverage by -0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #15369      +/-   ##
==========================================
- Coverage   90.44%   90.42%   -0.03%     
==========================================
  Files         134      134              
  Lines       49357    49357              
==========================================
- Hits        44642    44632      -10     
- Misses       4715     4725      +10
Impacted Files Coverage Δ
pandas/util/testing.py 82.44% <ø> (-0.94%)
pandas/tseries/offsets.py 97.13% <ø> (-0.13%)
pandas/core/frame.py 97.87% <ø> (ø)
pandas/util/terminal.py 47.82% <ø> (+2.89%)

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 1bcc10d...0b8d2ca. Read the comment docs.

@jreback jreback force-pushed the xdist branch 3 times, most recently from 0051a49 to fc8f07b Compare February 12, 2017 15:36
@jreback
Copy link
Contributor Author

jreback commented Feb 12, 2017

merged this. cuts about 1 hr off of total time. https://travis-ci.org/jreback/pandas/builds/200891319

this is using -n 2; -n 4 helps when you actually have that many cores, travis only has 2 (by default).

AnkurDedania pushed a commit to AnkurDedania/pandas that referenced this pull request Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants