summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/range_deletion_util_test.cpp
diff options
context:
space:
mode:
authorPierlauro Sciarelli <pierlauro.sciarelli@mongodb.com>2021-05-28 07:29:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-28 14:49:45 +0000
commit267abecb4ec46030a9b85194b9367a1410f1968a (patch)
tree335b0f9990cb3b1a893751119fc91a0f0c6b71b1 /src/mongo/db/s/range_deletion_util_test.cpp
parent208570c252e57eedcd63dec87ca26edd1d8e44c1 (diff)
downloadmongo-267abecb4ec46030a9b85194b9367a1410f1968a.tar.gz
SERVER-56525 Make thread pool for submitting range deletion tasks a decoration on ServiceContext
Diffstat (limited to 'src/mongo/db/s/range_deletion_util_test.cpp')
-rw-r--r--src/mongo/db/s/range_deletion_util_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/range_deletion_util_test.cpp b/src/mongo/db/s/range_deletion_util_test.cpp
index 1839724b826..2566738bf6e 100644
--- a/src/mongo/db/s/range_deletion_util_test.cpp
+++ b/src/mongo/db/s/range_deletion_util_test.cpp
@@ -86,7 +86,7 @@ public:
DBDirectClient client(operationContext());
client.dropCollection(kNss.ns());
- while (migrationutil::getMigrationUtilExecutor()->hasTasks()) {
+ while (migrationutil::getMigrationUtilExecutor(getServiceContext())->hasTasks()) {
continue;
}