Hugo
22ae7ff7af
Upgrade Python syntax with pyupgrade --py3-plus
2020-08-03 22:52:03 +10:00
Bruno Oliveira
bbc5416037
Use "nodes * 4" as default for --max-worker-restart
...
Fix #226
2019-06-06 19:53:37 -03:00
Bruno Oliveira
fced1645cb
Run pre-commit: black, whitespaces, rst
2018-07-27 17:50:55 -03:00
feuillemorte
40491279ef
#234 Added master/worker terminology
2018-01-17 23:07:29 +03:00
Hugo
c6f2fdcc31
Remove redundant parentheses
2017-12-21 11:19:58 +02:00
Carlos Jenkins
8356cfa39d
Split schedulers into their own submodule.
2017-07-28 23:55:09 -06:00
Michael Elovskikh
4ed8161ef8
Renamed scheduller remove_item method to mark_test_complete
2017-02-15 23:54:23 +05:00
Michael Elovskikh
c809406ef6
Refactor scheduller interface, make more properties instead of methods
2017-02-15 11:43:56 +05:00
Michael Elovskikh
a99e6e7ca8
Clean up scheduller interfaces
2017-02-15 00:21:26 +05:00
Michael Elovskikh
6200123fac
Made EachScheduling.numnodes countable from config
2017-02-14 20:19:55 +05:00
Michael Elovskikh
a2aaf9bf04
Rename init_distribute() to more clear schedule()
2017-02-14 20:19:55 +05:00
Michael Elovskikh
27ffbbb4f7
Unified scheduler class interface
2017-02-14 20:19:55 +05:00
Bruno Oliveira
7609e9376a
Fix call to report_collection_diff in test
...
"from" and "to" of the diff algorithm expect strings only
2015-12-03 18:34:32 -02:00
Steven Hazel
09d79ace35
Do a better job parallelizing the inital batch of tests when the
...
number of nodes is more than half the number of tests. This makes it
possible, for example, to run all tests in parallel, where previous
the maximum parallelization was half of all tests.
2015-11-18 13:06:04 -08:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +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
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
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
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
a22e0384a1
a failing test for pytest issue419
2014-01-27 11:37:26 +01:00
holger krekel
b88b23e358
some test fixes and configure tox-testing against pytest==2.3.5 and pytest>=2.4.2
2013-10-04 10:34:24 +02:00
Dmitrijs Milajevs
fa96143aeb
Cleanup
2013-09-05 15:30:37 +02:00
Dmitrijs Milajevs
9a50d9de17
Give more context when nodes collected different tests.
2013-09-05 15:24:27 +02:00
holger krekel
1f6d410481
fix issue 93 of pytest - avoid delayed teardowns
2011-12-02 21:03:29 +00:00
holger krekel
eb09e22b62
fix test
2010-12-07 12:47:36 +01:00
holger krekel
fc1f29db68
* introduce progress-reporting
...
* rename somewhat internal pytest_gwmanage_* events to pytest_xdist_*
* make gateway setup a separate step
2010-11-22 15:39:56 +01:00
holger krekel
a0652e9d99
adapt to new import locations
2010-11-13 11:12:19 +01:00
holger krekel
d83af5fdcd
adapt to shifted plugin names
2010-10-11 01:15:31 +02: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
c90c4a254c
make rsyncing work again, some streamlining in termination detection
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
f7be994848
adapt for py-trunk/1.3.1 changes wrt --exitfirst -> --maxfailures
2010-05-25 16:59:08 +02:00
holger krekel
b6cdbf46a6
adapt for changed py-trunk, new outcome exceptions
2010-04-27 21:16:47 +02:00
holger krekel
4a57dfb648
fix an indefinite hang which would wait for events although no events
...
are pending - this happened if items arrive very quickly while
the "reschedule-event" tried unconditionally avoiding a busy-loop
and not schedule new work.
2010-01-19 14:59:22 +01:00
holger krekel
b8ea732fb0
add CHANGELGOG, and make "-x" work harder to shut down immediately.
2010-01-18 13:49:35 +01:00
holger krekel
97f51944e1
fix windows kill issue
2010-01-18 02:21:42 +01:00
holger krekel
c1ac3c08dc
do rsync-reporting in the plugin, directly to the terminalreporter if available.
2010-01-18 00:41:38 +01:00
holger krekel
c607baca2b
rework dist-testing model: now all items are collected at the start. move back some tests to pytest-core
2010-01-17 23:25:03 +01:00
holger krekel
2efd4d9336
small adaptations to py.impl move (should eventually not be neccessary to do such things)
2010-01-13 17:25:13 +01: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