Skip to content

Commit

Permalink
Fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTF committed Oct 15, 2024
1 parent f14cf01 commit ec2ae0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/ExportQueryExecutionTreesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ TEST(ExportQueryExecutionTrees, LimitOffset) {
<binding name="s"><uri>g</uri></binding>
</result>)" + xmlTrailer;
TestCaseSelectQuery testCaseLimitOffset{
kg, objectQuery, 2,
kg, objectQuery, 4,
// TSV
"?s\n"
"<d>\n"
Expand Down Expand Up @@ -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<std::string_view>()), 1ms);
// Ensure result is not returned in microseconds and subsequently interpreted
Expand Down

0 comments on commit ec2ae0c

Please sign in to comment.