summaryrefslogtreecommitdiff
path: root/test/test-ingest.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2025-09-02 16:13:22 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2025-09-02 16:13:22 +0100
commitca9be55a98c094e8026a4003a099573dd4137050 (patch)
tree1d58e13a84fc6bba25242877859027bdfe8f461e /test/test-ingest.cpp
parent07a98c0ba7d2fdd79cab1884f81bb041741fc18c (diff)
downloadwebstat-ca9be55a98c094e8026a4003a099573dd4137050.tar.bz2
webstat-ca9be55a98c094e8026a4003a099573dd4137050.tar.xz
webstat-ca9be55a98c094e8026a4003a099573dd4137050.zip
Store utsname details in the host's detail field
Diffstat (limited to 'test/test-ingest.cpp')
-rw-r--r--test/test-ingest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-ingest.cpp b/test/test-ingest.cpp
index fb35915..5f29806 100644
--- a/test/test-ingest.cpp
+++ b/test/test-ingest.cpp
@@ -178,6 +178,6 @@ BOOST_DATA_TEST_CASE(StoreLogLine,
}),
line)
{
- WebStat::Ingestor {"test-hostname", std::make_shared<MockDBPool>("webstat")}.ingestLogLine(
+ WebStat::Ingestor {WebStat::getTestUtsName("test-hostname"), std::make_shared<MockDBPool>("webstat")}.ingestLogLine(
DB::MockDatabase::openConnectionTo("webstat").get(), line);
}