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
Anatoly Bubenkov
f4b86f0127
add glob support for rsyncignore. add command line option for rsyncignore
2013-12-05 15:19:31 +01:00
holger krekel
8146b27671
now that pytest_runtest_logstart is sent to the master again,
...
disable showing of filenames explicitely with the terminalreporter
2013-11-21 15:00:06 +01:00
holger krekel
a488cc5add
merge
2013-11-19 12:21:31 +01:00
holger krekel
aad1aace52
merge fix pytest issue382 - produce "pytest_runtest_logstart" event again
...
in master. Thanks Aron Curzon.
2013-11-19 12:08:55 +01:00
curzona
82d357ab1a
Uncomment logstart hook in remote.py and slavemanage.py
2013-11-09 12:10:13 -08:00
holger krekel
ca54911481
ignore directories and pyc files for changes (editors write tmp/swap
...
files etc., which also affects mtime of directory)
2013-10-07 10:28:08 +02:00
holger krekel
8e88261c15
ignore dot files for file changes (editors write tmp/swap files etc.)
2013-10-07 10:20:24 +02:00
holger krekel
6045195f16
Added tag 1.9 for changeset 5c5cb6d59e12
2013-10-04 14:35:34 +02:00
holger krekel
b88b23e358
some test fixes and configure tox-testing against pytest==2.3.5 and pytest>=2.4.2
1.9
2013-10-04 10:34:24 +02:00
holger krekel
a9aca9a3ae
fix pytest issue347: slaves running on top of Python3.2
...
will set PYTHONDONTWRITEYBTECODE to 1 to avoid import concurrency
bugs.
2013-09-05 18:52:59 +02:00