summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/s/config/initial_split_policy_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/config/initial_split_policy_test.cpp b/src/mongo/db/s/config/initial_split_policy_test.cpp
index 739965ffc19..bcddff3837f 100644
--- a/src/mongo/db/s/config/initial_split_policy_test.cpp
+++ b/src/mongo/db/s/config/initial_split_policy_test.cpp
@@ -66,8 +66,8 @@ void assertChunkVectorsAreEqual(const std::vector<ChunkType>& expected,
for (auto expectedIt = expected.begin(), actualIt = actual.begin();
expectedIt != expected.end() && actualIt != actual.end();
++expectedIt, ++actualIt) {
- ASSERT_BSONOBJ_EQ((*expectedIt).toShardBSON().removeField("lastmod"),
- (*actualIt).toShardBSON().removeField("lastmod"));
+ ASSERT_BSONOBJ_EQ((*expectedIt).toShardBSON().removeField("lastmod").removeField("history"),
+ (*actualIt).toShardBSON().removeField("lastmod").removeField("history"));
}
}