From 30a9d45f5322a63c2adf1de7a248ba3a9a0c3903 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 Dec 2025 15:16:25 +0000 Subject: Add job for puring old access log entries from the database --- test/test-ingest.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test-ingest.cpp') diff --git a/test/test-ingest.cpp b/test/test-ingest.cpp index 7692234..9b77567 100644 --- a/test/test-ingest.cpp +++ b/test/test-ingest.cpp @@ -341,6 +341,11 @@ BOOST_AUTO_TEST_CASE(DiscardUnparsable) BOOST_CHECK_EQUAL_COLLECTIONS(rows.begin(), rows.end(), EXPECTED.begin(), EXPECTED.end()); } +BOOST_AUTO_TEST_CASE(PurgeOldJob) +{ + BOOST_CHECK_EQUAL(2, jobPurgeOldLogs()); +} + BOOST_AUTO_TEST_SUITE_END(); BOOST_AUTO_TEST_CASE(FetchRealUserAgentDetail, *boost::unit_test::disabled()) -- cgit v1.2.3