summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdb_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/documentdb_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
index 125127d5af9..aabff1f35d1 100644
--- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
@@ -21,7 +21,7 @@ LOG_SETUP("documentdb_test");
#include <vespa/searchlib/transactionlog/translogserver.h>
#include <tests/proton/common/dummydbowner.h>
#include <vespa/vespalib/testkit/test_kit.h>
-#include <vespa/vespalib/util/mock_hw_info.h>
+#include <vespa/searchcore/proton/common/hw_info.h>
using document::DocumentType;
using document::DocumentTypeRepo;
@@ -57,7 +57,7 @@ struct Fixture {
DummyWireService _dummy;
DummyDBOwner _dummyDBOwner;
vespalib::ThreadStackExecutor _summaryExecutor;
- std::shared_ptr<vespalib::IHwInfo> _hwInfo;
+ HwInfo _hwInfo;
DocumentDB::SP _db;
DummyFileHeaderContext _fileHeaderContext;
TransLogServer _tls;
@@ -71,7 +71,7 @@ Fixture::Fixture()
: _dummy(),
_dummyDBOwner(),
_summaryExecutor(8, 128*1024),
- _hwInfo(std::make_shared<vespalib::MockHwInfo>()),
+ _hwInfo(),
_db(),
_fileHeaderContext(),
_tls("tmp", 9014, ".", _fileHeaderContext),