Anthony Sottile
78fcf725cf
Factor out py.std
2018-07-05 15:35:39 -07: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
Bruno Oliveira
ee2a1b4f4d
Add an explicit test for backward compatibility with "config.slaveinput"
...
Related to #234
2018-01-30 19:13:14 -02: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
Bruno Oliveira
28d60f94f3
Fix load scope tests in pytest 3.3
...
Fix #260
2017-12-22 15:35:24 -02:00
Hugo
c6f2fdcc31
Remove redundant parentheses
2017-12-21 11:19:58 +02:00
Hugo
8b79d909ea
Rewrite unnecessary list literals as set literals
2017-12-21 11:04:19 +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
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
verdesmarald
1e66af6389
Fix flake8 formatting errors
2017-09-07 16:40:32 +10: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
Bruno Oliveira
2adf810e5e
Add acceptance test for plugins which log tests multiple times
...
Fix #206
2017-08-10 11:18:52 -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
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
Bruno Oliveira
fb6a6872a0
Use pkg_resources to parse the actual pytest version
2017-08-09 10:10:01 -03:00
Bruno Oliveira
c31ec8b222
Skip test_logwarning on pytest versions older than 3.1
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
Ronny Pfannschmidt
15c51c497b
mark looponfail tests broken by 3.1+ as xfail
2017-08-09 14:31:50 +02: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
Bruno Oliveira
d564364c44
Add acceptance test for different traceback styles
2017-08-07 20:22:21 -03:00
Bruno Oliveira
435e5e8ac5
Fix serialization report tests
...
No idea why using "-n1" on one of the those tests makes the
second test to fail.
See pytest-dev/pytest-xdist#202 for a full description.
2017-08-07 20:21:40 -03:00
Bruno Oliveira
fbe793ed04
Merge pull request #1 from RonnyPfannschmidt/remove-boxed
...
Remove boxed and provide --boxed via pytest-forked
2017-08-05 05:06:24 -03:00
Bruno Oliveira
5dc87143ad
Fix serialization of native tracebacks
...
Fix #196
2017-08-04 20:13:30 -03:00
Bruno Oliveira
d6139b2525
Make tests for loadscope deterministic
...
Fix #199
2017-08-04 18:18:42 -03:00
Ronny Pfannschmidt
ad3e45590f
remove the boxed plugin code
2017-08-04 21:01:36 +02:00
Bruno Oliveira
6e99c0d4c5
Fix flakes
2017-08-02 21:33:58 -03:00
Bruno Oliveira
a7f8c22ae5
Make "-nX" and "--dist=loadscope" work properly together
2017-08-02 21:23:52 -03:00
Bruno Oliveira
43f7dbeb02
Add functional tests for --dist=loadscope
2017-08-02 21:05:18 -03: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
Bruno Oliveira
47b65716a3
Fix test for --numprocess flag
2017-06-22 21:47:34 -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
f0dee10a0d
Fix failing test since spawn.out does not contain "LOOPONFAILING" in pytest >= 3
2017-06-21 13:37:03 -05: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
8e2fdeee3e
Revert "- Reinforce test_crashing_item to match test name instead of test"
...
This reverts commit 99f667380f .
2017-06-10 09:43:59 -03:00
Bruno Oliveira
fae1e02c1d
Revert "Fix missing blank line."
...
This reverts commit 602694b817 .
2017-06-10 09:43:59 -03:00
xoviat
0789605d30
fixup py36 tests
2017-05-08 09:12:47 -05:00
reginaldl
602694b817
Fix missing blank line.
2017-02-23 15:14:24 -08:00