Commit Graph

90 Commits

Author SHA1 Message Date
Floris Bruynooghe
02cb571da0 Merged pull request #18 2015-08-04 23:30:50 +01:00
Bruno Oliveira
4b1ddb9c81 Add --max-slave-restart option
Also changed wording used from "failed node" to "crashed slave", to conform
with other messages ("slave sw0 crashed")
2015-07-11 13:12:12 -03:00
Bruno Oliveira
9d4afbdfec Add test, CHANGELOG and docs for auto-cpu detection PR 2015-07-11 12:14:48 -03:00
Bruno Oliveira
3330aac877 Add test for new pytest-2.8 behavior and add CHANGELOG entry 2015-07-11 11:45:27 -03:00
holger krekel
faf2e0861f streamline tests so that they work wit pytest-2.8 2015-05-06 13:34:33 +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
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
c4e0327824 Give up on this one test 2014-09-17 23:43:07 +01: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
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
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
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
f144ef88e3 fix pytest issue41: re-run tests on all file changes, not just
randomly select ones like .py/.c.
2013-09-05 14:21:43 +02:00
Jonathan Hunt
6c1587a157 Added an additional test for import errors in --tx mode. 2013-04-28 16:06:41 -07:00
Jonathan Hunt
10c9c34c75 Passing tests, avoiding duplicate errors. 2013-04-25 18:20:40 -07:00
Jonathan Hunt
46b94c1c81 Report ImportErrors in distributed mode. 2013-04-25 18:04:24 -07:00
Jonathan Hunt
6038ec21ca Added test to catch import failure in distributed mode. 2013-04-25 17:45:42 -07:00
holger krekel
8c6fea9895 remove usage of final_logerrors now that we have better teardown information 2011-12-02 21:03:58 +00:00
holger krekel
bd30e96ab0 fix issue34 2011-03-16 17:59:14 +01:00
holger krekel
3fc03c8c8e fixes for new internal pytest tmpdir handling 2010-11-22 11:41:23 +01:00
holger krekel
47d3e99083 fix and unify remote skip test/collect reports 2010-11-13 20:53:35 +01:00
holger krekel
4661db0fef don't add opts in sub processes, add -rf by default 2010-11-01 08:56:47 +01:00
holger krekel
025f1d577e adapt xdist plugin - it still uses some internal imports 2010-10-10 15:33:32 +02:00
holger krekel
9df55b1c60 refactor and port dsession tests, re-introduce --dist testing along
with a simple scheduler.
2010-09-28 16:32:42 +02:00
holger krekel
3767ce3269 move some code around, ending up with fewer files logically grouped 2010-09-28 16:08:31 +02:00
holger krekel
3ad58ae21f fix distributed testing reporting details 2010-09-27 16:13:56 +02:00
holger krekel
749faf5e7c re-introduce slaveinput/slaveoutput configure protocol 2010-09-27 16:13:55 +02:00
holger krekel
2efb059d75 adapt to new refactored py baseline.
remove pickling in distributed testing
refactor internal mechanism enough to work for -n1
* * *
fix handling of crashing items and slave down events
2010-09-27 16:13:54 +02:00
holger krekel
4d0422a548 remove trailing whitespace from sources 2010-09-07 10:46:58 +02:00
holger krekel
c0b2df1a77 show detailed gateway setup info only with "--verbose" or "-v" 2010-07-07 16:44:12 +02:00
holger krekel
fb31aa882d integrate xdist related reporting into the plugin 2010-07-07 12:43:19 +02:00
holger krekel
d0ccb5743d refining tests for jython and python2.7 2010-07-06 13:50:03 +02:00
holger krekel
bd254674f9 fix py3 print issue 2010-04-26 18:57:08 +02:00
holger krekel
9c74f59e55 fixes issue79 - call hooks more systematically on slave nodes and also in the case of SIGINT
reorganize internal session code to share more code with the "normal" non-distributed session
2010-04-26 18:35:53 +02:00
holger krekel
9abaae8778 * introduce explicit pytest_configure_node hook for node configuration,
simplifying implementation of slaveinput/slaveoutput data exchange
* only require the already released execnet-1.0.5
2010-04-22 17:00:03 +02:00
Meme Dough
8d6bd3ecde Slave data stored on config for slave and node for master. 2010-04-22 22:21:58 +10:00
Meme Dough
e7a47ae911 Added support for exchanging data between master and slave. 2010-04-21 22:33:09 +10:00
holger krekel
6b75e0a740 initial copy and modifications from the original py/impl/test/dist and
looponfail code. Now works as its own "xdist" plugin.
2010-01-13 15:55:01 +01:00