summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-07-29 23:33:05 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-30 04:17:31 +0000
commit645a1b57976bbebc3c2a16dfc7a178ca3791d2d9 (patch)
tree6d339fabfd4c72be7e92140aace9803b5b76a1c9 /src
parentb223aaec1fa05c534855f9502ac02504c299874b (diff)
downloadmongo-645a1b57976bbebc3c2a16dfc7a178ca3791d2d9.tar.gz
SERVER-49147 fix mac os x compile
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager_commit_chunk_migration_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager_commit_chunk_migration_test.cpp b/src/mongo/db/s/config/sharding_catalog_manager_commit_chunk_migration_test.cpp
index 5483741170b..0283b4c1cc4 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager_commit_chunk_migration_test.cpp
+++ b/src/mongo/db/s/config/sharding_catalog_manager_commit_chunk_migration_test.cpp
@@ -104,6 +104,7 @@ TEST_F(CommitChunkMigrate, ChunksUpdatedCorrectly) {
// Verify that a collection version is returned
auto cver = assertGet(ChunkVersion::parseWithField(versions, "collectionVersion"));
+ ASSERT_GTE(cver, mver);
// Verify the chunks ended up in the right shards.
auto chunkDoc0 = uassertStatusOK(getChunkDoc(operationContext(), migratedChunk.getMin()));