Apache DataFusion SQL Query Engine
ARROW-2747: [Python] Fix huge pages Plasma test
Philipp Moritz55cfdb006573
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.shindex c1dbbac37b..89d5e39846 100755--- a/ci/travis_script_python.sh+++ b/ci/travis_script_python.sh@@ -120,10 +120,11 @@ fi# Set up huge pages for plasma testif [ $TRAVIS_OS_NAME == "linux" ]; then+ sudo sysctl -w vm.nr_hugepages=2048sudo mkdir -p /mnt/hugepagessudo mount -t hugetlbfs -o uid=`id -u` -o gid=`id -g` none /mnt/hugepagessudo bash -c "echo `id -g` > /proc/sys/vm/hugetlb_shm_group"- sudo bash -c "echo 20000 > /proc/sys/vm/nr_hugepages"+ sudo bash -c "echo 2048 > /proc/sys/vm/nr_hugepages"fi# Need to run tests from the source tree for Cython coverage and conftest.py