summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/active_migrations_registry_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/active_migrations_registry_test.cpp')
-rw-r--r--src/mongo/db/s/active_migrations_registry_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/s/active_migrations_registry_test.cpp b/src/mongo/db/s/active_migrations_registry_test.cpp
index a84f159a074..5ba12a1cd16 100644
--- a/src/mongo/db/s/active_migrations_registry_test.cpp
+++ b/src/mongo/db/s/active_migrations_registry_test.cpp
@@ -236,7 +236,8 @@ TEST_F(MoveChunkRegistration, TestBlockingReceiveChunk) {
_registry.registerReceiveChunk(opCtx.get(),
NamespaceString("TestDB", "TestColl"),
ChunkRange(BSON("Key" << -100), BSON("Key" << 100)),
- ShardId("shard0001"));
+ ShardId("shard0001"),
+ false);
ASSERT_OK(scopedReceiveChunk.getStatus());
@@ -330,7 +331,8 @@ TEST_F(MoveChunkRegistration, TestBlockingWhileReceiveInProgress) {
_registry.registerReceiveChunk(operationContext(),
NamespaceString("TestDB", "TestColl"),
ChunkRange(BSON("Key" << -100), BSON("Key" << 100)),
- ShardId("shard0001"));
+ ShardId("shard0001"),
+ false);
ASSERT_OK(scopedReceiveChunk.getStatus());
// 3. Signal the registry locking thread that the registry is ready to be locked.