summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-02-23 22:55:44 +0100
committerTor Egge <Tor.Egge@oath.com>2018-02-26 10:00:45 +0000
commit752b69e796cb2eeb98ee8f8dc9af2709e0a7f8ea (patch)
treef194fc3fadf3dfbf53f2b6b882cb80ce2fa913b7 /storage
parentde71a3ad14416d6783c81ab47740ec0a6aab5c06 (diff)
Simplify distributor state checkers unit test.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/tests/distributor/statecheckerstest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/src/tests/distributor/statecheckerstest.cpp b/storage/src/tests/distributor/statecheckerstest.cpp
index 194e9e9135c..b339d1b4601 100644
--- a/storage/src/tests/distributor/statecheckerstest.cpp
+++ b/storage/src/tests/distributor/statecheckerstest.cpp
@@ -255,8 +255,7 @@ struct StateCheckersTest : public CppUnit::TestFixture,
document::BucketId bid(17, 0);
addNodesToBucketDB(bid, params._bucketInfo);
setRedundancy(params._redundancy);
- _distributor->enableClusterState(
- lib::ClusterState(params._clusterState));
+ enableDistributorClusterState(params._clusterState);
NodeMaintenanceStatsTracker statsTracker;
StateChecker::Context c(
getExternalOperationHandler(), getDistributorBucketSpace(), statsTracker, makeDocumentBucket(bid));