You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by fr...@apache.org on 2022/04/19 02:24:55 UTC

[druid] branch master updated: Document running it tests from intellij IDE (#12440)

This is an automated email from the ASF dual-hosted git repository.

frankchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b3b71f1d5 Document running it tests from intellij IDE (#12440)
7b3b71f1d5 is described below

commit 7b3b71f1d5eb9cc883cb96b8b69fb71635ba781b
Author: TSFenwick <to...@imply.io>
AuthorDate: Mon Apr 18 19:24:46 2022 -0700

    Document running it tests from intellij IDE (#12440)
    
    * document running IT tests in intellij
    
    * clean up unnecessary changes
    
    * address comments
---
 integration-tests/README.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/integration-tests/README.md b/integration-tests/README.md
index 0b64dd30f1..e80151d92f 100644
--- a/integration-tests/README.md
+++ b/integration-tests/README.md
@@ -123,6 +123,27 @@ Druid routers for security group integration test (permissive tls, no client aut
    mvn verify -P integration-tests -pl integration-tests -Ddocker.build.skip=true -Ddocker.run.skip=true -Dit.test=<test_name>
    ```
 
+### Running tests from IntelliJ
+
+Before running tests from IntelliJ, ensure you have a Druid cluster running.
+Modify the tests run configurations to be the following Vm options:
+
+```
+-Duser.timezone=UTC
+-Dfile.encoding=UTF-8
+-Ddruid.test.config.dockerIp=localhost
+-Ddruid.zk.service.host=localhost
+-Ddruid.client.https.trustStorePath=client_tls/truststore.jks
+-Ddruid.client.https.trustStorePassword=druid123
+-Ddruid.client.https.keyStorePath=client_tls/client.jks
+-Ddruid.client.https.certAlias=druid
+-Ddruid.client.https.keyManagerPassword=druid123
+-Ddruid.client.https.keyStorePassword=druid123
+```
+
+Run tests from the test configuration often found in the top right corner of the IntelliJ IDE.
+The values shown above are for the default docker compose cluster. For other clusters the values will need to be changed.
+
 ## Docker Compose files
 
 - docker-compose.base.yml


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org