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
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
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
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
Bruno Oliveira
d564364c44
Add acceptance test for different traceback styles
2017-08-07 20:22:21 -03:00
Bruno Oliveira
d6139b2525
Make tests for loadscope deterministic
...
Fix #199
2017-08-04 18:18:42 -03: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
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
reginaldl
99f667380f
- Reinforce test_crashing_item to match test name instead of test
...
file.
- Add `test_crashing_item_teardown` to validate crash behavior at
teardown.
2017-02-23 15:01:48 -08:00
Bruno Oliveira
e5d8064534
Test using pytest 3.0
...
Fix #99
2016-12-05 20:12:29 -02:00
Bruno Oliveira
7d124ecf87
Replace "pytest_funcarg__" by @pytest.fixture
2016-08-04 20:26:08 -03:00
Bruno Oliveira
b4a7a1a8a8
Fix internal error when using --maxfail option
...
Fix #65
Fix #62
2016-06-06 20:55:54 -03:00
Bruno Oliveira
20fe1f9874
Skip progress display when in non-terminal (pytest >= 2.9)
...
See pytest-dev/pytest#1397
2016-05-11 22:15:25 -03:00
Bruno Oliveira
b27301e1d9
Improve test a bit and add CHANGELOG entry
2016-02-23 20:53:46 -03:00
Bruno Oliveira
7e6011541f
Fix flakes
2016-02-23 20:39:41 -03:00
hellmanj
7f8ae3944c
worker_id fixture as shown in #47
2016-02-23 17:58:33 -05:00
Bruno Oliveira
0127cac3f9
Unit test "auto" cpu detection
...
Use that instead of an acceptance test: on travis it would result in over 16 slaves being spawned,
which caused weird crashes on multiprocessing module during teardown
Fix #30
2015-12-14 23:00:59 -02:00
Bruno Oliveira
462a3eb9e2
Fix test_auto_detect_cpus flakyness
...
Fix #30
2015-12-12 12:55:41 -02:00
Bruno Oliveira
c58d22f279
Make xdist work even if looponfail or boxed are disabled
...
Fix #32
2015-12-12 11:14:58 -02:00
Bruno Oliveira
7da064f0fa
Mark test_auto_detect_cpus as xfail until #30 is fixed
2015-12-09 08:51:42 -02:00
Bruno Oliveira
5ddef63085
xdist now works if the internal tmpdir plugin is disabled
...
Fix #22
2015-12-05 12:09:00 -02:00
Bruno Oliveira
318080a49d
Mark test_each_multiple as xfail
...
Related to #20
2015-12-04 10:03:57 -02:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +02:00
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