summaryrefslogtreecommitdiffstats
path: root/persistence/src/tests/spi/clusterstatetest.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-04 00:05:29 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-12 02:55:45 +0100
commit2464562bb2202d6b9e45d08f00c27de961c4e9d3 (patch)
treeecf5f3c2b2ec14b75528fc18a343bd7a796ccbbd /persistence/src/tests/spi/clusterstatetest.cpp
parent925ec7eb8ee709c0d6722227104df6dc89f307f0 (diff)
Avoid pulling in the config library all the time.
Diffstat (limited to 'persistence/src/tests/spi/clusterstatetest.cpp')
-rw-r--r--persistence/src/tests/spi/clusterstatetest.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/persistence/src/tests/spi/clusterstatetest.cpp b/persistence/src/tests/spi/clusterstatetest.cpp
index 87e2a8de163..aac2e0a0e17 100644
--- a/persistence/src/tests/spi/clusterstatetest.cpp
+++ b/persistence/src/tests/spi/clusterstatetest.cpp
@@ -1,14 +1,11 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vdstestlib/cppunit/macros.h>
#include <vespa/persistence/conformancetest/conformancetest.h>
#include <vespa/persistence/dummyimpl/dummypersistence.h>
#include <vespa/vdslib/distribution/distribution.h>
#include <vespa/vdslib/state/clusterstate.h>
-
-LOG_SETUP(".test.dummyimpl");
+#include <vespa/config-stor-distribution.h>
namespace storage {
namespace spi {
@@ -159,7 +156,7 @@ namespace {
lib::Distribution::DistributionConfig getCfg(uint16_t redundancy,
uint16_t readyCopies)
{
- lib::Distribution::DistributionConfig config(
+ lib::Distribution::DistributionConfigBuilder config(
lib::Distribution::getDefaultDistributionConfig(redundancy, 100));
config.readyCopies = readyCopies;
return config;