mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
Add a field to the error type representing server crashes in smoke.py.
This commit is contained in:
parent
8b56191134
commit
753a74d271
@ -159,6 +159,8 @@ class TestExitFailure(TestFailure):
|
||||
class TestServerFailure(TestFailure):
|
||||
def __init__(self, *args):
|
||||
self.path = args[0]
|
||||
self.status = -1 # this is meaningless as an exit code, but
|
||||
# that's the point.
|
||||
def __str__(self):
|
||||
return 'mongod not ok after test %s' % self.path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user