diff --git a/test/ExportQueryExecutionTreesTest.cpp b/test/ExportQueryExecutionTreesTest.cpp index d3d795ec9..ce1067109 100644 --- a/test/ExportQueryExecutionTreesTest.cpp +++ b/test/ExportQueryExecutionTreesTest.cpp @@ -1067,7 +1067,7 @@ TEST(ExportQueryExecutionTrees, LimitOffset) { g )" + xmlTrailer; TestCaseSelectQuery testCaseLimitOffset{ - kg, objectQuery, 2, + kg, objectQuery, 4, // TSV "?s\n" "\n" @@ -1421,7 +1421,8 @@ TEST(ExportQueryExecutionTrees, verifyQleverJsonContainsValidMetadata) { auto& runtimeInformation = runtimeInformationWrapper["query_execution_tree"]; EXPECT_EQ(runtimeInformation["result_cols"], 3); EXPECT_EQ(runtimeInformation["result_rows"], 4); - EXPECT_EQ(json["resultsize"], 5); + // This number is an implementation detail for lazy results and may change. + EXPECT_EQ(json["resultsize"], 6); auto& timingInformation = json["time"]; EXPECT_GE(toChrono(timingInformation["total"].get()), 1ms); // Ensure result is not returned in microseconds and subsequently interpreted