diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-31 12:41:06 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-31 12:46:12 -0400 |
commit | dbdf9d595a17e9a98313833e9538f38679a7261b (patch) | |
tree | c68eed16902ffc76225d399744717d53ffcd3ae7 | |
parent | ee65b0cc858ffc1ef68ab1a8850f658602b85926 (diff) | |
download | mongo-dbdf9d595a17e9a98313833e9538f38679a7261b.tar.gz |
fix small oplog debugging
-rwxr-xr-x | buildscripts/smoke.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index c2447c2c54e..4a594c04a23 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -213,8 +213,8 @@ def check_db_hashes(master, slave): print "waiting for slave to catch up..." argv = [shell_executable, "--port", str(slave.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 120000) );'] - res = Popen(argv, stdout=PIPE).wait() #.communicate()[0] - print res + res = Popen(argv, stdout=PIPE).communicate() + print "wait result: " + str( res[0] ) + "\t" + str( res[1] ) # FIXME: maybe make this run dbhash on all databases? for mongod in [master, slave]: |