Bruno Oliveira
76e7b8d0c0
Add backward compatibility for `slaveoutput attribute to WorkerController` instances
...
Fix #285
Fix pytest-dev/pytest-cov#191
2018-02-26 14:52:55 -03:00
Bruno Oliveira
1be8a463ff
Add docstring to tests for #277
2018-02-16 20:14:47 -02:00
lmtierney
bd3c7dba8b
Ensure loadscope and loadfile work when the first scope has one work unit
2018-02-08 19:51:42 -06:00
feuillemorte
6fb01801ac
#234 Fix comments
2018-02-06 11:53:45 +03:00
feuillemorte
b04703b6ba
#234 Fix flake 8 and fix comments
2018-01-17 23:34:39 +03:00
feuillemorte
40491279ef
#234 Added master/worker terminology
2018-01-17 23:07:29 +03:00
feuillemorte
f1e6dc4344
use master/worker terminology
2018-01-16 21:46:43 +03:00
Bruno Oliveira
449e6c2e00
Add support for the new pytest_runtest_logfinish hook (pytest 3.4)
2018-01-10 17:52:27 -02:00
Bruno Oliveira
0d19e7f22b
Merge remote-tracking branch 'upstream/master' into Corni/loadfilescope
2017-12-22 16:07:51 -02:00
Hugo
2b0dc3f83a
Remove redundant Python 3.2 code
2017-12-21 10:59:52 +02:00
Hugo
ed2db3d03a
Drop support for EOL Python 2.6
2017-12-21 10:55:57 +02:00
Cornelius Riemenschneider
fad312fdb7
Add scheduling by test file.
2017-12-14 16:18:46 +01:00
Bruno Oliveira
239065810e
Merge remote-tracking branch 'upstream/master' into timyhou/issue_241
2017-11-22 21:29:32 -02:00
Bruno Oliveira
58f7291a99
Fix E741 and E722 flake errors
2017-11-22 20:00:39 -02:00
thou
2eb1002781
Issue #241 Make copy during serialization of reprtraceback and reprcrash to avoid mutating.
2017-11-21 12:33:07 -06:00
Ronny Pfannschmidt
1cd7001647
Merge pull request #233 from blueyed/improve-pdb-usage-error
...
Improve UsageError when used with --pdb
2017-10-05 13:19:25 +02:00
Bruno Oliveira
95b660e26a
Merge pull request #232 from verdesmarald/master
...
Don't create DSession in collect-only mode
2017-10-05 07:35:36 -03:00
Tim Jenness
9e59d07947
Stop looping if all workers have died
...
If the workers are crashing and the restart limit has been met,
we need to stop listening for events and trigger an internal
error.
2017-10-04 17:59:36 -07:00
Daniel Hahler
3799caa4fc
Improve UsageError when used with --pdb
...
It might not be clear that pytest-xdist is used at all, and this should
help users to make --pdb work.
2017-09-23 21:07:39 +02:00
verdesmarald
7674f6b186
Add tests for interactions between boxed, dist and collect-only.
...
Re-enable parsing of the boxed option with collect-only
2017-09-07 16:09:06 +10:00
verdesmarald
c874872190
Don't create DSession in collect-only mode
2017-09-04 14:25:42 +10:00
Bruno Oliveira
3ed405f22f
Add docstring for worker_id
...
Fix #190
2017-08-10 21:51:30 -03:00
Bruno Oliveira
f8e138b986
Fix tests incorrectly identified if worker crashes during teardown stage
...
Fix #124
2017-08-10 10:43:40 -03:00
Ronny Pfannschmidt
79f1b6dab2
Merge pull request #215 from nicoddemus/logwarning-py-path
...
Fix crash when transferring internal pytest warnings from workers to the master node
2017-08-10 08:57:21 +02:00
Bruno Oliveira
20a1b9ef11
Fix crash when transferring internal pytest warnings from workers to the master node
...
Fix #214
2017-08-09 17:55:16 -03:00
Petr Messner
4389843dcb
Fix reprcrash check in unserialize_report()
2017-08-09 17:44:45 +02:00
Bruno Oliveira
0987356f64
Increase max-line-size for flake8 to 100 and fix other flake errors
2017-08-09 10:10:01 -03:00
Bruno Oliveira
d0474076e9
Transfer warnings from workers to master
...
Fix #92
2017-08-09 10:10:01 -03:00
Bruno Oliveira
02754d84d3
Remove __multicall__ from pytest_sessionfinish
2017-08-09 10:10:01 -03:00
Ronny Pfannschmidt
9884285915
Merge pull request #202 from nicoddemus/traceback-error
...
Fix serialization of native tracebacks
2017-08-08 12:50:29 +02:00
Ronny Pfannschmidt
f856cb74f4
fix linting issue
2017-08-05 08:28:30 +02:00
Bruno Oliveira
5dc87143ad
Fix serialization of native tracebacks
...
Fix #196
2017-08-04 20:13:30 -03:00
Ronny Pfannschmidt
5db31f1ee7
add support for --boxed by aliasing to --forked of pytest-foked
2017-08-04 21:31:01 +02:00
Ronny Pfannschmidt
ad3e45590f
remove the boxed plugin code
2017-08-04 21:01:36 +02:00
Bruno Oliveira
a7f8c22ae5
Make "-nX" and "--dist=loadscope" work properly together
2017-08-02 21:23:52 -03:00
Carlos Jenkins
b0916f06ce
Implemented a load scheduler that groups tests by scope.
2017-07-28 23:55:09 -06:00
Carlos Jenkins
8356cfa39d
Split schedulers into their own submodule.
2017-07-28 23:55:09 -06:00
Bruno Oliveira
64f8ad5469
Fix internal handling in process_from_remote
...
Fix #175
2017-07-27 20:50:09 -03:00
thou
530c9b234a
Unserialize reprlocals to a ReprLocal instance
2017-06-30 15:00:50 -05:00
thou
5c1a35fee4
Serialization / Deserialization was dropping longrepr.sections
2017-06-27 16:30:49 -05:00
Bruno Oliveira
6e1154881d
Merge pull request #164 from timyhou/master
...
Issue #130
2017-06-23 19:39:27 -03:00
Max Linke
dbaf49cd69
add '--numprocesses' as long option for '-n'
...
This is more verbose in scripts that run pytest-xdist. It can also help
in some ci-helper scripts like to auto detect if pytest-xdist should be
installed.
2017-06-22 21:53:16 +02:00
thou
4a1f1d879b
Updated serialize_report and unserialize_report to pass entire exception info using ReprExceptionInfo.
...
This addresses issue #130 .
2017-06-21 13:36:58 -05:00
Bruno Oliveira
95a62460aa
Revert "Mark test as complete at teardown."
...
This reverts commit 82b992a5fd .
2017-06-10 09:43:59 -03:00
Wes Thomas
58750f5765
Correcting broken URI in documentation.
2017-05-11 15:29:39 -05:00
reginaldl
82b992a5fd
Mark test as complete at teardown.
2017-02-23 11:31:37 -08:00
Bruno Oliveira
a867f71c7a
Merge pull request #89 from wronglink/custom_scheduler
...
[WIP] Allow custom scheduler class implementation
2017-02-16 09:40:36 -02: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