summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-06-15 10:13:14 -0400
committerRichard Kreuter <richard@10gen.com>2010-06-15 10:13:14 -0400
commit7a663e0e5b3e76a299e9cb8f4ef9706e41cc0569 (patch)
tree00b47ae0f479bcea28849d5eb466a516c0ff82ea
parentadd5430075393cc841d9f0719584c836005cae34 (diff)
downloadmongo-7a663e0e5b3e76a299e9cb8f4ef9706e41cc0569.tar.gz
Add a note for future improvement of smoke.py SERVER-1051
-rwxr-xr-xbuildscripts/smoke.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index faa05a1562b..a2734cd3949 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -173,6 +173,8 @@ def checkDbHashes(master, slave):
ARB=10 # ARBITRARY
time.sleep(ARB)
while True:
+ # FIXME: it's probably better to do an empty insert and a
+ # getLastError() to force a sync.
argv = [shellExecutable, "--port", str(slave.port), "--quiet", "--eval", 'db.printSlaveReplicationInfo()']
res = Popen(argv, stdout=PIPE).communicate()[0]
m = re.search('(\d+)secs ', res)