From bdadef128216d588bec10360d9e82c0202134f78 Mon Sep 17 00:00:00 2001 From: Hynek Mlnarik Date: Tue, 13 Jun 2017 15:25:49 +0200 Subject: [PATCH] KEYCLOAK-4189 Fix in instructions for running Cross-DC tests --- testsuite/integration-arquillian/HOW-TO-RUN.md | 6 +++++- .../servers/cache-server/jboss/infinispan/src/.dont-delete | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 testsuite/integration-arquillian/servers/cache-server/jboss/infinispan/src/.dont-delete 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