diff --git a/testsuite/integration-arquillian/HOW-TO-RUN.md b/testsuite/integration-arquillian/HOW-TO-RUN.md index 14ebce5c8d..455791016d 100644 --- a/testsuite/integration-arquillian/HOW-TO-RUN.md +++ b/testsuite/integration-arquillian/HOW-TO-RUN.md @@ -431,7 +431,11 @@ The cross DC requires setting a profile specifying used cache server (currently #### Run Cross-DC Tests from Maven -Run the following command (adjust the test specification according to your needs): +First compile the Infinispan test server via the following command: + + `mvn -Pcache-server-infinispan -f testsuite/integration-arquillian -DskipTests clean install` + +Then you can run the tests using the following command (adjust the test specification according to your needs): `mvn -Pcache-server-infinispan -Dtest=*.crossdc.* -pl testsuite/integration-arquillian/tests/base test` diff --git a/testsuite/integration-arquillian/servers/cache-server/jboss/infinispan/src/.dont-delete b/testsuite/integration-arquillian/servers/cache-server/jboss/infinispan/src/.dont-delete new file mode 100644 index 0000000000..c969acacc9 --- /dev/null +++ b/testsuite/integration-arquillian/servers/cache-server/jboss/infinispan/src/.dont-delete @@ -0,0 +1 @@ +This file is to mark this Maven project as a valid option for building cache server artifact