summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-10-07 19:17:08 -0400
committerBenety Goh <benety@mongodb.com>2016-10-08 18:12:57 -0400
commite6e4a046ef172735f31693ced1d7b0b22da7c081 (patch)
tree21cdafbb2f8779d5f0984cd73ec3a7383291da61 /jstests/noPassthroughWithMongod
parent30b79f47f04926d972192ed06a1fa08620592b67 (diff)
downloadmongo-e6e4a046ef172735f31693ced1d7b0b22da7c081.tar.gz
SERVER-26520 CollectionCloner fetches document count for progress tracking from sync source before copying documents
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/initial_sync_replSetGetStatus.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/initial_sync_replSetGetStatus.js b/jstests/noPassthroughWithMongod/initial_sync_replSetGetStatus.js
index 94664964bde..64e33014b4c 100644
--- a/jstests/noPassthroughWithMongod/initial_sync_replSetGetStatus.js
+++ b/jstests/noPassthroughWithMongod/initial_sync_replSetGetStatus.js
@@ -86,7 +86,8 @@
assert.eq(res.initialSyncStatus.databases.databasesCloned, 2);
assert.eq(res.initialSyncStatus.databases.test.collections, 1);
assert.eq(res.initialSyncStatus.databases.test.clonedCollections, 1);
- assert.eq(res.initialSyncStatus.databases.test["test.foo"].documents, 4);
+ assert.eq(res.initialSyncStatus.databases.test["test.foo"].documentsToCopy, 4);
+ assert.eq(res.initialSyncStatus.databases.test["test.foo"].documentsCopied, 4);
assert.eq(res.initialSyncStatus.databases.test["test.foo"].indexes, 1);
assert.eq(res.initialSyncStatus.databases.test["test.foo"].fetchedBatches, 1);