nevi-me edited a comment on pull request #9230:
URL: https://github.com/apache/arrow/pull/9230#issuecomment-766627433


   > @houqp -- I think the instructions to run the tests locally are here: 
https://github.com/apache/arrow/blob/master/docs/source/format/Integration.rst
   > 
   > @carols10cents or @nevi-me may have some pointers as I think they have 
worked in this area too
   
   I'm also seeing the timeout locally:
   
   @houqp I've not been able to run integration tests successfully with docker, 
so I use the local script below:
   
   ```bash
   # prep work
   export ARROW_HOME=~/arrow
   export ARROW_VERSION=3.0.0-SNAPSHOT
   export 
ARROW_JAVA_INTEGRATION_JAR=$ARROW_HOME/java/tools/target/arrow-tools-$ARROW_VERSION-jar-with-dependencies.jar
   export RUST_BACKTRACE=1
   
   # build CPP testing binary
   cd ./cpp
   # remove the build directory if needed
   # rm build -r
   mkdir -p build
   cd build
   # change or remove the -j24, it speeds up the builds for me locally. 24 is 
the number of CPU cores I have
   cmake -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_INTEGRATION=ON 
-DARROW_FLIGHT=ON -DARROW_BUILD_TESTS=ON -j24 ..
   make -j24
   cd ../../
   
   # build Java testing binary
   cd ./java
   # clean if necessary
   # mvn clean
   # I disabled the java build, but added this for completeness. Java Flight 
tests fail locally for me
   # mvn install -DskipTests
   cd ../
   
   # build Rust testing binary
   cd ./rust && cargo build
   cd ../
   
   # run tests
   archery integration --with-cpp=1 --with-rust=1 --with-java=0 --run-flight 
--debug > integration-testing.log
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to