Skip to content

Commit

Permalink
Restore commented out tests
Browse files Browse the repository at this point in the history
Restore the tests commented out in `443d10 Fix encryption with
dictionary encodings`
  • Loading branch information
Ying Su authored and mbasmanova committed Sep 9, 2020
1 parent 98ec987 commit baece53
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -755,13 +755,13 @@ public void testVarchars()
throws Exception
{
Random random = new Random(0);
// tester.testRoundTripTypes(
// ImmutableList.of(VARCHAR, VARCHAR, VARCHAR),
// ImmutableList.of(newArrayList("abc", "def", null, "hij", "klm"), newArrayList(null, null, null, null, null), newArrayList("abc", "def", null, null, null)),
// toSubfieldFilters(ImmutableMap.of(
// 0, stringIn(true, "abc", "def"),
// 1, stringIn(true, "10", "11"),
// 2, stringIn(true, "def", "abc"))));
tester.testRoundTripTypes(
ImmutableList.of(VARCHAR, VARCHAR, VARCHAR),
ImmutableList.of(newArrayList("abc", "def", null, "hij", "klm"), newArrayList(null, null, null, null, null), newArrayList("abc", "def", null, null, null)),
toSubfieldFilters(ImmutableMap.of(
0, stringIn(true, "abc", "def"),
1, stringIn(true, "10", "11"),
2, stringIn(true, "def", "abc"))));

// dictionary
tester.testRoundTrip(VARCHAR, newArrayList(limit(cycle(ImmutableList.of("apple", "apple pie", "apple\uD835\uDC03", "apple\uFFFD")), NUM_ROWS)),
Expand Down

0 comments on commit baece53

Please sign in to comment.