Bruno Oliveira
a131d34b2d
testscollected is now a public Session attribute
2015-07-06 20:27:41 -03:00
Bruno Oliveira
05ab96feaf
update collected tests from slaves into main pytest session object
...
Upstream changes in https://github.com/pytest-dev/pytest/pull/817 make
pytest-dist always return EXIT_NOTESTSCOLLECTED because the
master node doesn't collect any tests. This patch updates the pytest session
about the collected items on the slaves.
2015-07-04 15:40:55 -03:00
holger krekel
54a43db053
add support for releasing as universal wheel
2015-05-07 12:30:29 +02:00
holger krekel
1b0b406adb
Added tag 1.12 for changeset 39ef85dbc893
2015-05-06 14:32:50 +02:00
holger krekel
2ea07f73a7
finalize 1.12 version, some more adaptation for pytest versions, streamlining tox.ini
1.12
2015-05-06 13:41:39 +02:00
holger krekel
faf2e0861f
streamline tests so that they work wit pytest-2.8
2015-05-06 13:34:33 +02:00
holger krekel
eb53a5f8a0
Added tag 1.11 for changeset 220f6e46eb71
2015-04-16 08:48:06 +02:00
Anatoly Bubenkov
5da798f01f
README.txt edited online with Bitbucket
2015-03-01 14:45:15 +00:00
holger krekel
94a7723ba8
fix link to pytest-xdist repository
2015-02-27 12:19:16 +01:00
Comrade DOS
9aee5f3d66
Add auto detection CPUs number.
2015-01-12 17:51:11 +06:00
holger krekel
87be3b7582
(added changelog) fix issue594: properly report errors when the test collection
...
is random. Thanks Bruno Oliveira.
2014-09-24 13:43:57 +02:00
Bruno Oliveira
d84f1f08d8
fix issue 594: xdist is not executing tests parametrized with random values
...
Now xdist properly reports the collection errors instead of silently failing to execute
the test suite.
2014-09-23 22:09:44 -03:00
holger krekel
7a0cb35322
modernize tox.ini a bit and make another test dict-ordering independent
1.11
2014-09-18 19:40:48 +02:00
holger krekel
3a75b754d0
- add changelog entry for restart-crashed-nodes
...
- fix a test which depended on dict ordering
- minor test cleanups
2014-09-18 18:12:42 +02:00
Floris Bruynooghe
b418f0701c
Functional tests for node restarting
2014-09-18 01:20:28 +01:00
Floris Bruynooghe
e3c22c65b8
Fix slavemanage tests for new NodeManager API
2014-09-18 00:48:34 +01:00
Floris Bruynooghe
c4e0327824
Give up on this one test
2014-09-17 23:43:07 +01:00
Floris Bruynooghe
9e28a56101
Fix rsync
...
Since this now gets called multiple times per gateway we need to
ensure an rsync happens for each combination of (spec, root) otherwise
only the first root for a gateway will be rsynced.
2014-09-17 23:42:33 +01:00
Floris Bruynooghe
76c297bdb0
Fixes for node-restarting in each scheduling
...
* node2collection should only be populated when the collection is
added. This way collection_is_completed can be kept track of
correctly.
* The _removed2pending map needs to have the entire node as key
because it is needed to look up the collection of the gateway which
died in node2collection to check the collection of the replacement
node is identical.
* init_distribute() needs to actually keep track of the started nodes
otherwise it's (re)scheduling gets all confused and will re-schedule
too often.
2014-09-16 23:18:49 +01:00
Floris Bruynooghe
fc335fb7dc
Implement node-restarting for each scheduling
2014-09-16 16:01:51 +02:00
Floris Bruynooghe
f643991f7f
Very rough cut of restarting a failed node
2014-09-15 01:20:45 +02:00
Floris Bruynooghe
969582187e
Ignore pytest-cache's cache directory and pytestdebug.log
2014-09-13 11:06:43 +01:00
Anatoly Bubenkov
e275ce0f8e
Merged in nicoddemus/pytest-xdist/log-collection-diff (pull request #9 )
...
Log different tests collected by slaves instead of an error
2014-09-10 02:10:32 +02:00
Bruno Oliveira
f88275046f
fixed tests removing line numbers from output
...
Pytest no longer show line numbers in the --verbose output
2014-09-09 20:28:16 -03:00
Bruno Oliveira
9d549a0c06
Log different tests collected by slaves instead of an error
...
This is a proposal to fix #556 .
2014-08-02 20:59:45 -03:00
holger krekel
cc237b0d8e
fix various flakes issues and add "flakes" to tox tests
2014-07-20 16:56:21 +02:00
holger krekel
67f80b7c2c
fix pytest issue503: avoid random re-setup of broad scoped fixtures
...
(anything above function).
2014-07-20 16:41:03 +02:00
holger krekel
bfd00a58ff
bump version, add py34 to tox.ini
2014-07-20 08:51:53 +02:00
holger krekel
ed12f57193
depend on latest py dev version to support "--boxed" properly
2014-07-05 17:34:56 +02:00
holger krekel
de377c1001
use config.getoption instead of deprecated config.getvalue
...
and adapt a few tests to also run against pytest-2.6.0.dev
2014-05-14 08:13:56 +02:00
holger krekel
eb639d19ec
properly extend tests to cover xfailing capturing modes
2014-03-27 11:57:36 +01:00
holger krekel
4441002e95
fix pytest/xdist issue485 (also depends on py-1.4.21.dev1):
...
attach stdout/stderr on --boxed processes that die.
2014-03-26 18:33:09 +01:00
holger krekel
3f33a2d23e
Added tag 1.10 for changeset 4406fc2a6427
2014-01-29 14:28:31 +01:00
holger krekel
b0732f99a6
final
1.10
2014-01-29 13:10:20 +01:00
holger krekel
ab987d512c
make pexpect specific environments so that the canonical ones also run on windows. Also add a little sleep to a pexpect-related tests in the hope it helps the test consistently passing (Bah).
2014-01-27 19:47:37 +01:00
holger krekel
ffa156ced5
refine distribution fractions and make it dependend on the duration
...
of the last test in a node's set.
2014-01-27 12:39:43 +01:00
holger krekel
e26d4486fc
send multiple "to test" indices in one network message to a slave
...
and improve heuristics for sending chunks where the chunksize
depends on the number of remaining tests rather than fixed numbers.
This reduces the number of master -> node messages (but not the
reverse direction)
2014-01-27 11:37:40 +01:00
holger krekel
18a30fab7d
fix issue419: work with collection indices instead of node ids.
...
This reduces network message size.
2014-01-27 11:37:33 +01:00
holger krekel
dd73d132b1
remove unneccesary item2nodes data structure for load scheduling
2014-01-27 11:37:27 +01:00
holger krekel
a22e0384a1
a failing test for pytest issue419
2014-01-27 11:37:26 +01:00
holger krekel
8eabc7d5df
Merged in lukaszb/pytest-xdist/lukaszb/readmetxt-typo-1388766852691 (pull request #7 )
...
README.txt typo
2014-01-04 21:41:34 +01:00
Lukasz Balcerzak
dbf7932514
README.txt typo
2014-01-03 16:34:15 +00:00
holger krekel
6355c3e8d0
add glob support for rsyncignores, add command line option to pass
...
additional rsyncignores. Thanks Anatoly Bubenkov.
2013-12-06 13:26:09 +01:00
holger krekel
c505f00320
Merged in paylogic/pytest-xdist/rsyncignore-option (pull request #5 )
...
add glob support for rsyncignore. add command line option for rsyncignore
2013-12-06 13:25:19 +01:00
Anatoly Bubenkov
7e066be35e
docs fixed
2013-12-06 10:21:32 +01:00
Anatoly Bubenkov
27f1d8049b
merge with mainline
2013-12-06 10:20:03 +01:00
Anatoly Bubenkov
bcf1c85f44
docs fixed
2013-12-06 10:19:18 +01:00
Anatoly Bubenkov
a3fac52e85
more readability for return
2013-12-05 23:22:49 +01:00
Anatoly Bubenkov
152f965a70
fix ignores mixing
2013-12-05 16:35:56 +01:00
Anatoly Bubenkov
027b3f51ed
change metavars
2013-12-05 15:31:52 +01:00