summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-06-11 19:19:38 -0400
committerRichard Kreuter <richard@10gen.com>2010-06-11 19:19:38 -0400
commit753a74d271c82358ead3fe19b990a51a3cd737b5 (patch)
tree9f95a02bc883fdc20025a750efb12c3cae0b56c7 /buildscripts
parent8b56191134ba83b7f3ba6ac2b682273107fbd267 (diff)
downloadmongo-753a74d271c82358ead3fe19b990a51a3cd737b5.tar.gz
Add a field to the error type representing server crashes in smoke.py.
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py2
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