summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-01-16 02:21:07 -0500
committerEliot Horowitz <eliot@10gen.com>2011-01-16 02:21:07 -0500
commita3c5fd0642605396b54b52c64afe6a5dd23a59be (patch)
tree18702907366c62ba19a8d59c7ae66e3141b98994 /buildscripts
parent006f2cdab8488b65e7569f047c5f5be35119fee5 (diff)
downloadmongo-a3c5fd0642605396b54b52c64afe6a5dd23a59be.tar.gz
finish removing msg
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index bcfa8570ae0..3ec5473ec0c 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -279,10 +279,12 @@ def runTest(test):
print " " + str((t2 - t1) * 1000) + "ms"
if r != 0:
raise TestExitFailure(path, r)
- if Popen([mongod_executable, "msg", "ping", mongod_port], stdout=PIPE).communicate()[0].count( "****ok") == 0:
- raise TestServerFailure(path)
- if call([mongod_executable, "msg", "ping", mongod_port]) != 0:
+
+ try:
+ c = Connection( "127.0.0.1" , int(mongod_port) )
+ except Exception,e:
raise TestServerFailure(path)
+
print ""
def run_tests(tests):