Commit graph

6 commits

Author SHA1 Message Date
Pavel Minaev
1bc879c16f Use pytest-xdist to speed up tests and continue running after timeout. (#1116)
* Use pytest-xdist to speed up tests and continue running after timeout.

* Use unique server ports for Django and Flask tests.
2019-01-22 16:37:00 -08:00
Karthik Nadig
9aaf937478
Removing old test code (#1088)
Removing old test code
2019-01-07 13:38:32 -08:00
Pavel Minaev
e3502cad3a Use 'thread' timeout method for pytest for more reliable timeouts on all platforms. 2018-10-11 14:01:39 -07:00
Pavel Minaev
a204460039 Refactor timeline framework to properly enforce concurrency-safe observations, and fix various issues discovered in the implementation of expectation algebra.
Refactor pattern to use == rather than 'in'.

Improve timeline logging and timestamp everything that's logged.

Do not run checks in fixture finalization if test failed.
2018-10-11 14:01:39 -07:00
Pavel Minaev
23c118aae4 Fix #811: new socket server to receive pid and port for subprocesses (#871)
* Fix #811: new socket server to receive pid and port for subprocesses

* Install test dependencies from test_requirements.txt on Travis

* Multiproc support can't handle os.fork() as implemented.

On Python 3.4+, use set_start_method('spawn') to ensure that multiprocessing module doesn't use fork.

On lower versions, skip the test.

* Restrict the multiprocessing test to Windows for now.
2018-10-11 14:01:39 -07:00
Pavel Minaev
e96275703a
Testing framework for timeline-based tests. (#857)
* Testing framework for timeline-based tests.

See pytests/helpers/timeline.md for a detailed description.

Fixes #832, and lays the groundwork for #833.

* Upgrade pip to most recent version before installing prerequisites on Travis.
2018-10-01 14:29:44 -07:00
Renamed from pytests/pytest.ini (Browse further)