diff options
author | Tor Egge <Tor.Egge@oath.com> | 2017-11-03 14:31:21 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2017-11-03 14:53:00 +0000 |
commit | 8ef4d03ca2afbc3b1c6a8d720c68f5bcb0037e21 (patch) | |
tree | 5a15153eae48845d3b21954a88ebb8bd4c6daa58 /storage/src/tests/distributor/statoperationtest.cpp | |
parent | 27ec059fa2656d1a5009bbbf3abff20ae0c699b3 (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.cpp | 3 |
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); |