summaryrefslogtreecommitdiff
path: root/test/perf-ingest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf-ingest.cpp')
-rw-r--r--test/perf-ingest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-ingest.cpp b/test/perf-ingest.cpp
index 36a3b49..ed87192 100644
--- a/test/perf-ingest.cpp
+++ b/test/perf-ingest.cpp
@@ -102,7 +102,8 @@ namespace {
void
doIngestFile(benchmark::State & state)
{
- WebStat::Ingestor ingestor {"perf-hostname", std::make_shared<WebStat::MockDBPool>("webstat")};
+ WebStat::Ingestor ingestor {
+ WebStat::getTestUtsName("perf-hostname"), std::make_shared<WebStat::MockDBPool>("webstat")};
for (auto loop : state) {
WebStat::FilePtr logFile {fopen(TMP_LOG.c_str(), "r")};
ingestor.ingestLog(logFile.get());