summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/removelocationtest.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-12-03 16:22:36 +0000
committerGeir Storli <geirst@verizonmedia.com>2020-12-03 16:23:27 +0000
commitd5b2fa84e187bf17b675f4601acdbd9b142fbc78 (patch)
tree6a1fc93eb4ecbf140d39cc119ec9e3dc7b1bb4b4 /storage/src/tests/distributor/removelocationtest.cpp
parentb24ac11b9d481f1e718ee60f9b88bf14b88b9cb7 (diff)
Remove dependency between ExternalOperationHandler and DistributorComponent.
Diffstat (limited to 'storage/src/tests/distributor/removelocationtest.cpp')
-rw-r--r--storage/src/tests/distributor/removelocationtest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/distributor/removelocationtest.cpp b/storage/src/tests/distributor/removelocationtest.cpp
index 47b6e436fb1..779d6f60be0 100644
--- a/storage/src/tests/distributor/removelocationtest.cpp
+++ b/storage/src/tests/distributor/removelocationtest.cpp
@@ -27,9 +27,9 @@ struct RemoveLocationOperationTest : Test, DistributorTestUtil {
auto msg = std::make_shared<api::RemoveLocationCommand>(selection, makeDocumentBucket(document::BucketId(0)));
op = std::make_unique<RemoveLocationOperation>(
- getExternalOperationHandler(),
- getExternalOperationHandler(),
- getExternalOperationHandler(),
+ distributor_component(),
+ distributor_component(),
+ distributor_component(),
getDistributorBucketSpace(),
msg,
getDistributor().getMetrics().