diff options
author | Geir Storli <geirst@verizonmedia.com> | 2020-12-03 16:22:36 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2020-12-03 16:23:27 +0000 |
commit | d5b2fa84e187bf17b675f4601acdbd9b142fbc78 (patch) | |
tree | 6a1fc93eb4ecbf140d39cc119ec9e3dc7b1bb4b4 /storage/src/tests/distributor/distributortestutil.h | |
parent | b24ac11b9d481f1e718ee60f9b88bf14b88b9cb7 (diff) |
Remove dependency between ExternalOperationHandler and DistributorComponent.
Diffstat (limited to 'storage/src/tests/distributor/distributortestutil.h')
-rw-r--r-- | storage/src/tests/distributor/distributortestutil.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/storage/src/tests/distributor/distributortestutil.h b/storage/src/tests/distributor/distributortestutil.h index a6bd9d5d84c..1bdb6e33512 100644 --- a/storage/src/tests/distributor/distributortestutil.h +++ b/storage/src/tests/distributor/distributortestutil.h @@ -2,14 +2,14 @@ #pragma once #include "distributor_message_sender_stub.h" -#include <tests/common/teststorageapp.h> -#include <tests/common/testhelper.h> #include <tests/common/dummystoragelink.h> +#include <tests/common/testhelper.h> +#include <tests/common/teststorageapp.h> #include <vespa/storage/common/hostreporter/hostinfo.h> #include <vespa/storage/frameworkimpl/component/distributorcomponentregisterimpl.h> #include <vespa/storage/storageutil/utils.h> -#include <vespa/storageframework/defaultimplementation/clock/fakeclock.h> #include <vespa/storageapi/message/state.h> +#include <vespa/storageframework/defaultimplementation/clock/fakeclock.h> namespace storage { @@ -21,6 +21,7 @@ class BucketDBUpdater; class Distributor; class DistributorBucketSpace; class DistributorBucketSpaceRepo; +class DistributorComponent; class IdealStateManager; class ExternalOperationHandler; class Operation; @@ -111,6 +112,7 @@ public: BucketDBUpdater& getBucketDBUpdater(); IdealStateManager& getIdealStateManager(); ExternalOperationHandler& getExternalOperationHandler(); + storage::distributor::DistributorComponent& distributor_component(); Distributor& getDistributor() { return *_distributor; |