diff options
Diffstat (limited to 'test/test-ingest.cpp')
-rw-r--r-- | test/test-ingest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-ingest.cpp b/test/test-ingest.cpp index f86dd25..73a37c6 100644 --- a/test/test-ingest.cpp +++ b/test/test-ingest.cpp @@ -278,11 +278,11 @@ BOOST_AUTO_TEST_CASE(DiscardUnparsable) { BOOST_REQUIRE_NO_THROW(ingestLogLine("does not parse")); auto dbconn = dbpool->get(); - auto select = dbconn->select("SELECT id, value FROM entities WHERE type = 'unparsable_line'"); - constexpr std::array<std::tuple<uint64_t, std::string_view>, 1> EXPECTED {{ + auto select = dbconn->select("SELECT id::bigint, value FROM entities WHERE type = 'unparsable_line'"); + constexpr std::array<std::tuple<Crc32Value, std::string_view>, 1> EXPECTED {{ {1664299262, "does not parse"}, }}; - auto rows = select->as<uint64_t, std::string_view>(); + auto rows = select->as<Crc32Value, std::string_view>(); BOOST_CHECK_EQUAL_COLLECTIONS(rows.begin(), rows.end(), EXPECTED.begin(), EXPECTED.end()); } |