summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-ingest.cpp5
1 files changed, 5 insertions, 0 deletions
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())