From 0e768a00fab74818533458b5b40c84556b2137e0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 1 May 2026 16:58:01 +0100 Subject: Append unparked lines to queue in finalise function Fixes issue where queuedLines would be accessed from background thread. --- test/test-ingest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test-ingest.cpp b/test/test-ingest.cpp index 4f9c7ab..3b53529 100644 --- a/test/test-ingest.cpp +++ b/test/test-ingest.cpp @@ -322,7 +322,7 @@ BOOST_AUTO_TEST_CASE(IngestParked, *boost::unit_test::depends_on("I/ParkLogLine" BOOST_REQUIRE(queuedLines.empty()); const auto result = jobIngestParkedLines(); BOOST_REQUIRE(result); - BOOST_CHECK_EQUAL(result(), 1); + BOOST_CHECK_EQUAL(result(), 2); BOOST_CHECK_EQUAL(queuedLines.size(), 2); BOOST_CHECK(std::filesystem::is_empty(settings.fallbackDir)); } -- cgit v1.3