diff --git src/main/docbkx/developer.xml src/main/docbkx/developer.xml index 5d625cf..45958af 100644 --- src/main/docbkx/developer.xml +++ src/main/docbkx/developer.xml @@ -1048,13 +1048,18 @@ public class TestHRegionInfo { extreme), if you have an 8 core, 24Gb box, you can have 16 tests in parallel. but the memory available limits it to 12 (24/2), To run all tests with 12 tests in parallel, do this: mvn test -P runAllTests - -Dsurefire.secondPartThreadCount=12. To increase the speed, you - can as well use a ramdisk. You will need 2Gb of memory to run all tests. You - will also need to delete the files between two test run. The typical way to - configure a ramdisk on Linux is: + -Dsurefire.secondPartForkCount=12. If using a version earlier than + 2.0, do: mvn test -P runAllTests -Dsurefire.secondPartThreadCount=12 + . To increase the speed, you can as well use a ramdisk. You will need 2Gb + of memory to run all tests. You will also need to delete the files between two + test run. The typical way to configure a ramdisk on Linux is: $ sudo mkdir /ram2G -sudo mount -t tmpfs -o size=2048M tmpfs /ram2G - You can then use it to run all HBase tests with the command: + sudo mount -t tmpfs -o size=2048M tmpfs /ram2G + You can then use it to run all HBase tests on 2.0 with the command: + mvn test + -P runAllTests -Dsurefire.secondPartForkCount=12 + -Dtest.build.data.basedirectory=/ram2G + On earlier versions, use: mvn test -P runAllTests -Dsurefire.secondPartThreadCount=12 -Dtest.build.data.basedirectory=/ram2G