diff options
Diffstat (limited to 'storage/src/tests/distributor/removelocationtest.cpp')
-rw-r--r-- | storage/src/tests/distributor/removelocationtest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/src/tests/distributor/removelocationtest.cpp b/storage/src/tests/distributor/removelocationtest.cpp index 74daba3d098..779d6f60be0 100644 --- a/storage/src/tests/distributor/removelocationtest.cpp +++ b/storage/src/tests/distributor/removelocationtest.cpp @@ -27,11 +27,13 @@ struct RemoveLocationOperationTest : Test, DistributorTestUtil { auto msg = std::make_shared<api::RemoveLocationCommand>(selection, makeDocumentBucket(document::BucketId(0))); op = std::make_unique<RemoveLocationOperation>( - getExternalOperationHandler(), + distributor_component(), + distributor_component(), + distributor_component(), getDistributorBucketSpace(), msg, getDistributor().getMetrics(). - removelocations[msg->getLoadType()]); + removelocations); op->start(_sender, framework::MilliSecTime(0)); } |