diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2020-02-28 11:47:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-29 05:23:36 +0000 |
commit | 1d25290073c75905f0e8712aefda8b74740bbef4 (patch) | |
tree | c4192b2933f7f5e29d2948e569ec8b20c6f08b41 | |
parent | 8ec0941a0d72286dd53b10990b15b51402570b24 (diff) | |
download | mongo-1d25290073c75905f0e8712aefda8b74740bbef4.tar.gz |
SERVER-46479 Make comparison of expected and actual chunk ranges independent of LogicalClock in initial_split_policy_test.cpp
-rw-r--r-- | src/mongo/db/s/config/initial_split_policy_test.cpp | 4 |
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")); } } |