Skip to content

Commit

Permalink
ARROW-5270: [C++] reduce json-reader-test's working size
Browse files Browse the repository at this point in the history
Valgrind on Travis is slow due to this test, which doesn't need to be so big. @pitrou

Author: Benjamin Kietzman <[email protected]>

Closes apache#4264 from bkietz/5270-Reenable-Valgrind-on-Travis-CI and squashes the following commits:

61d72be <Benjamin Kietzman> reduce json-reader-test's working size
  • Loading branch information
bkietz authored and pitrou committed May 7, 2019
1 parent 6720c98 commit 0882924
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cpp/src/arrow/json/reader-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ std::string RowsOfOneColumn(string_view name, std::initializer_list<T> values,
}

TEST(ReaderTest, MultipleChunksParallel) {
int64_t count = 1 << 20;
int64_t count = 1 << 10;

ParseOptions parse_options;
parse_options.unexpected_field_behavior = UnexpectedFieldBehavior::InferType;
Expand Down Expand Up @@ -233,9 +233,6 @@ TEST(ReaderTest, MultipleChunksParallel) {
}
}

// std::cout << serial->column(0)->data()->num_chunks() << " chunks, " << json.size()
// << " bytes" << std::endl;

AssertTablesEqual(*serial, *threaded);
}

Expand Down

0 comments on commit 0882924

Please sign in to comment.