diff options
Diffstat (limited to 'jstests/sharding/resharding_metrics_increment.js')
-rw-r--r-- | jstests/sharding/resharding_metrics_increment.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/resharding_metrics_increment.js b/jstests/sharding/resharding_metrics_increment.js index 05feacbdadd..a8b188f64e9 100644 --- a/jstests/sharding/resharding_metrics_increment.js +++ b/jstests/sharding/resharding_metrics_increment.js @@ -125,7 +125,7 @@ const topology = DiscoverTopology.findConnectedNodes(mongos); jsTest.log(`Resharding stats for ${mongo}: ${tojson(sub)}`); verifyDict(sub.active, { - "documentsProcessed": e.documents, + "documentsCopied": e.documents, "oplogEntriesFetched": e.fetched, "oplogEntriesApplied": e.applied, "insertsApplied": e.opcounters.insert, @@ -134,7 +134,7 @@ const topology = DiscoverTopology.findConnectedNodes(mongos); }); // bytesCopied is harder to pin down but it should be >0. - assert.betweenIn(1, sub.active['bytesWritten'], 1024, 'bytesWritten'); + assert.betweenIn(1, sub.active['bytesCopied'], 1024, 'bytesCopied'); }); reshardingTest.teardown(); |