Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan committed May 10, 2022
1 parent 450482a commit d5bcc6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cmake .. -DBUILD_ARROW=0 -DTESTS=1
make
cd src
ctest -R
ctest -R -V
scala-unit-test-hadoop-2-7:
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions native-sql-engine/cpp/src/tests/jniutils_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ TEST_F(JniUtilsTest, TestRecordBatchConcatenate) {
batches.push_back(batch1);
batches.push_back(batch2);

for (int i = 0; i < 100; i++) {
for (int i = 0; i < 10000; i++) {
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 10; i++) {
int total_num_rows = batch1->num_rows() + batch2->num_rows();

// int num_columns = batches.at(0)->num_columns();
Expand All @@ -136,8 +136,6 @@ TEST_F(JniUtilsTest, TestRecordBatchConcatenate) {

std::cout << "out_batch->num_rows():" << out_batch->num_rows() << std::endl;
}

sleep(3);
}
}

Expand Down

0 comments on commit d5bcc6b

Please sign in to comment.