diff options
author | Richard Kreuter <richard@10gen.com> | 2010-06-15 10:13:14 -0400 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-06-15 10:13:14 -0400 |
commit | 7a663e0e5b3e76a299e9cb8f4ef9706e41cc0569 (patch) | |
tree | 00b47ae0f479bcea28849d5eb466a516c0ff82ea | |
parent | add5430075393cc841d9f0719584c836005cae34 (diff) | |
download | mongo-7a663e0e5b3e76a299e9cb8f4ef9706e41cc0569.tar.gz |
Add a note for future improvement of smoke.py SERVER-1051
-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 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) |