summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/statoperationtest.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2017-11-03 14:31:21 +0000
committerTor Egge <Tor.Egge@oath.com>2017-11-03 14:53:00 +0000
commit8ef4d03ca2afbc3b1c6a8d720c68f5bcb0037e21 (patch)
tree5a15153eae48845d3b21954a88ebb8bd4c6daa58 /storage/src/tests/distributor/statoperationtest.cpp
parent27ec059fa2656d1a5009bbbf3abff20ae0c699b3 (diff)
Pass distributor bucket space to remove location operation, remove
operation, stat bucket operation and visitor operation.
Diffstat (limited to 'storage/src/tests/distributor/statoperationtest.cpp')
-rw-r--r--storage/src/tests/distributor/statoperationtest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/src/tests/distributor/statoperationtest.cpp b/storage/src/tests/distributor/statoperationtest.cpp
index 442d74503ab..9ae8fc2fa4a 100644
--- a/storage/src/tests/distributor/statoperationtest.cpp
+++ b/storage/src/tests/distributor/statoperationtest.cpp
@@ -46,6 +46,7 @@ StatOperationTest::testBucketInfo()
StatBucketOperation op(
getExternalOperationHandler(),
+ getDistributorBucketSpace(),
std::shared_ptr<api::StatBucketCommand>(
new api::StatBucketCommand(makeDocumentBucket(document::BucketId(16, 5)), "")));
@@ -90,7 +91,7 @@ StatOperationTest::testBucketList() {
new api::GetBucketListCommand(makeDocumentBucket(document::BucketId(16, 5))));
StatBucketListOperation op(
- getExternalOperationHandler().getBucketDatabase(),
+ getDistributorBucketSpace().getBucketDatabase(),
getIdealStateManager(),
getExternalOperationHandler().getIndex(),
msg);