mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 16:46:00 +01:00
424314f65e
Split out the passthrough tests into separate suites. The MongoDB deployment is started up by resmoke.py so that we can record the success/failure of each individual test in MCI. Added support for parallel execution of tests by dispatching to multiple MongoDB deployments. Added support for grouping different kinds of tests (e.g. C++ unit tests, dbtests, and jstests) so that they can be run together. This allows for customizability in specifying what tests to execute when changes are made to a particular part of the code.
36 lines
730 B
Python
36 lines
730 B
Python
"""
|
|
Exceptions raised by resmoke.py.
|
|
"""
|
|
|
|
|
|
class ResmokeError(Exception):
|
|
"""
|
|
Base class for all resmoke.py exceptions.
|
|
"""
|
|
pass
|
|
|
|
|
|
class StopExecution(ResmokeError):
|
|
"""
|
|
Exception that is raised when resmoke.py should stop executing tests
|
|
if failing fast is enabled.
|
|
"""
|
|
pass
|
|
|
|
|
|
class TestFailure(ResmokeError):
|
|
"""
|
|
Exception that is raised by a hook in the after_test method if it
|
|
determines the the previous test should be marked as a failure.
|
|
"""
|
|
pass
|
|
|
|
|
|
class ServerFailure(TestFailure):
|
|
"""
|
|
Exception that is raised by a hook in the after_test method if it
|
|
detects that the fixture did not exit cleanly and should be marked
|
|
as a failure.
|
|
"""
|
|
pass
|