diff options
author | Richard Kreuter <richard@10gen.com> | 2010-06-11 19:19:38 -0400 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-06-11 19:19:38 -0400 |
commit | 753a74d271c82358ead3fe19b990a51a3cd737b5 (patch) | |
tree | 9f95a02bc883fdc20025a750efb12c3cae0b56c7 /buildscripts | |
parent | 8b56191134ba83b7f3ba6ac2b682273107fbd267 (diff) | |
download | mongo-753a74d271c82358ead3fe19b990a51a3cd737b5.tar.gz |
Add a field to the error type representing server crashes in smoke.py.
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index 3d873c82fdc..2f319066236 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -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 |