Skip to content

Commit

Permalink
Made rest of tests work too
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub committed Dec 20, 2023
1 parent 387a974 commit 6d459c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ public void test(String name, String operation, String... loadColumns) {
* @param loadColumns columns to load from the generated parquet file
*/
public void test(String name, long expectedRowCount, String operation, String... loadColumns) {
var read = getReadOperation(staticFactor);
var read = getReadOperation(staticFactor, loadColumns);
var result = runStaticTest(name, operation, read, loadColumns);
var rcount = result.resultRowCount();
var ecount = getExpectedRowCount(expectedRowCount, staticFactor);
assertTrue(rcount > 0 && rcount <= ecount, "Wrong result Static row count: " + rcount);

read = getReadOperation(incFactor);
read = getReadOperation(incFactor, loadColumns);
result = runIncTest(name, operation, read, loadColumns);
rcount = result.resultRowCount();
ecount = getExpectedRowCount(expectedRowCount, incFactor);
Expand Down

0 comments on commit 6d459c4

Please sign in to comment.