Skip to content

Commit d065ae6

Browse files
authored
HPCC4J-641 DFSClient test suite dataset fix (#750)
Signed-off-by: James McMullan [email protected]
1 parent bd73e85 commit d065ae6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dfsclient/src/test/java/org/hpccsystems/dfs/client/DFSReadWriteTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@
6363
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
6464
public class DFSReadWriteTest extends BaseRemoteTest
6565
{
66-
private static final String[] datasets = { "~benchmark::integer::20kb", "~unit_test::all_types::thor", "~unit_test::all_types::xml", "~unit_test::all_types::json", "~unit_test::all_types::csv" };
67-
private static final int[] expectedCounts = { 1250, 10000, 10000, 10000, 10000, 10000};
66+
// Note: These datasets are generated by dfsclient/src/target/resources/generate-datasets.ecl
67+
private static final String[] datasets = { "~benchmark::integer::20kb", "~unit_test::all_types::thor", "~unit_test::all_types::json", "~unit_test::all_types::csv" };
68+
private static final int[] expectedCounts = { 1250, 100000, 100000, 100000};
6869
private static final Version newProtocolVersion = new Version(8,12,10);
6970

7071

dfsclient/src/test/resources/generate-datasets.ecl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ IMPORT Std;
22

33
unique_keys := 100000; // Should be less than number of records
44
unique_values := 10212; // Should be less than number of records
5-
totalrecs1 := 10000;
5+
totalrecs1 := 100000;
66

77
childRec := {STRING8 childField1, INTEGER8 childField2, REAL8 childField3};
88

0 commit comments

Comments
 (0)