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
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
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
Michael Elovskikh
cf863fd38a
Remove unnecessary test
2017-02-14 20:19:55 +05:00
Michael Elovskikh
3165b78936
Test custom scheduler plugin config
2017-02-14 20:19:55 +05:00
Katerina Koukiou
63431e749e
Add worker_id into TestReport
2017-02-14 15:45:06 +01:00
Bruno Oliveira
e5d8064534
Test using pytest 3.0
...
Fix #99
2016-12-05 20:12:29 -02:00
Bruno Oliveira
a2881fd8a9
Fix test_auto_detect_cpus
2016-08-06 17:06:37 -03:00
Bruno Oliveira
d498cb3e0f
Add env variables to identify workers
2016-08-04 21:53:13 -03: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
8ec8d29cbf
Mark test_remoteinitconfig as xfail
...
#59
2016-05-11 22:25:12 -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
96506867d1
Refactor tox and ci scripts
...
Make sure a plain "tox" command works in all platforms without failures,
which facilitates making releases using a "devpi upload/test" workflow
* Fix small flakes failures
* Limit py35 testing to pytest>=2.7, as pytest<2.7 does not work on py35
* pexpect environments only work on Linux platforms and should be skipped on Windows
* Simplify AppVeyor script by running all tox environments: no need to have a build matrix
because AppVeyor does not execute builds in parallel
* Add all environments to travis.yml, obtained from "tox --listenvs"
2016-01-30 16:47:07 -02:00
Bruno Oliveira
53999d8433
Merge branch 'features'
2016-01-29 23:03:32 -02: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
2ae9bd7f43
Add new pytest_xdist_node_collection_finished hook
...
Fix #8
2015-12-12 12:44:27 -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
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
Ronny Pfannschmidt
ec89a3c36b
split up the plugin and extend tox test matrix
2015-08-08 11:57:08 +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
2ea07f73a7
finalize 1.12 version, some more adaptation for pytest versions, streamlining tox.ini
2015-05-06 13:41:39 +02: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
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
Floris Bruynooghe
b418f0701c
Functional tests for node restarting
2014-09-18 01:20:28 +01:00
Floris Bruynooghe
e3c22c65b8
Fix slavemanage tests for new NodeManager API
2014-09-18 00:48:34 +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
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