summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorKamran Khan <kamran.khan@mongodb.com>2015-12-15 14:16:07 -0500
committerKamran Khan <kamran.khan@mongodb.com>2015-12-15 14:16:07 -0500
commit1ef94fe1099da7b6396bf9c0ddf93747c8b80f2a (patch)
treed2bd6f4cbbd8abfb12997af99782c90b1c2bc6b5 /buildscripts
parent4b37c81ddfd33f550f2f42e1a14a56e427620db4 (diff)
downloadmongo-1ef94fe1099da7b6396bf9c0ddf93747c8b80f2a.tar.gz
SERVER-21901 CheckReplDBHash checks wrong node when printing missing docs
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/testing/hooks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/hooks.py b/buildscripts/resmokelib/testing/hooks.py
index dcde84e3bef..e6de099f93a 100644
--- a/buildscripts/resmokelib/testing/hooks.py
+++ b/buildscripts/resmokelib/testing/hooks.py
@@ -364,9 +364,9 @@ class CheckReplDBHash(CustomBehavior):
# 'sb' already describes which collections are missing where.
for coll_name in missing_on_primary:
- CheckReplDBHash._dump_all_documents(primary_db, coll_name, sb)
- for coll_name in missing_on_secondary:
CheckReplDBHash._dump_all_documents(secondary_db, coll_name, sb)
+ for coll_name in missing_on_secondary:
+ CheckReplDBHash._dump_all_documents(primary_db, coll_name, sb)
return
for coll_name in primary_coll_names & secondary_coll_names: