Fixed tests

This commit is contained in:
Justin Borromeo 2019-03-12 12:44:02 -07:00
parent 45e95bb1f4
commit 57b5682654
1 changed files with 4 additions and 4 deletions

View File

@ -569,7 +569,7 @@ public class ScanQueryRunnerTest
ascendingEvents, ascendingEvents,
legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"), legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"),
0, 0,
seg1Results.length + seg2Results.length limit
); );
verify(ascendingExpectedResults, results); verify(ascendingExpectedResults, results);
} }
@ -629,7 +629,7 @@ public class ScanQueryRunnerTest
descendingEvents, descendingEvents,
legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"), legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"),
0, 0,
seg1Results.length + seg2Results.length limit
); );
verify(descendingExpectedResults, results); verify(descendingExpectedResults, results);
} }
@ -689,7 +689,7 @@ public class ScanQueryRunnerTest
ascendingEvents, ascendingEvents,
legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"), legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"),
0, 0,
seg1Results.length + seg2Results.length limit
); );
results = compactedListToRow(results); results = compactedListToRow(results);
verify(ascendingExpectedResults, results); verify(ascendingExpectedResults, results);
@ -753,7 +753,7 @@ public class ScanQueryRunnerTest
descendingEvents, descendingEvents,
legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"), legacy ? Lists.newArrayList(getTimestampName(), "quality", "index") : Lists.newArrayList("quality", "index"),
0, 0,
expectedRet.length limit
); );
results = compactedListToRow(results); results = compactedListToRow(results);
verify(descendingExpectedResults, results); verify(descendingExpectedResults, results);