This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-clam.git
The following commit(s) were added to refs/heads/master by this push:
new 2fe87b4 SLING-8688 Enable integration tests with Docker
2fe87b4 is described below
commit 2fe87b431c2c7b92756d1ba7f7422094786acee1
Author: Oliver Lietz <[email protected]>
AuthorDate: Mon Sep 9 10:28:43 2019 +0200
SLING-8688 Enable integration tests with Docker
* Adjust README
---
README.md | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 84ed74c..df9467e 100644
--- a/README.md
+++ b/README.md
@@ -50,23 +50,16 @@ Observing Sling Clam events:
## Integration Tests
-Integration tests require a running Clam daemon and are not enabled by default.
-
-
-### Use [Testcontainers](https://www.testcontainers.org/) and local
[Docker](https://www.docker.com/) Engine
-
-Enable the `it` profile to run integration tests with Docker container:
-
- mvn clean install -Pit
+Integration tests require a running Clam daemon. By default a Docker container
(`mk0x/docker-clamav:alpine`) is started via
[Testcontainers](https://www.testcontainers.org/) and local
[Docker](https://www.docker.com/) Engine to provide the Clam daemon.
### Use external Clam daemon
To disable *Testcontainers* and use an external Clam daemon set
`clamd.testcontainer` to `false`:
- mvn clean install -Pit -Dclamd.testcontainer=false
+ mvn clean install -Dclamd.testcontainer=false
To override default Clam daemon host `localhost` and port `3310` set
`clamd.host` and `clamd.port`:
- mvn clean install -Pit -Dclamd.testcontainer=false -Dclamd.host=localhost
-Dclamd.port=3310
+ mvn clean install -Dclamd.testcontainer=false -Dclamd.host=localhost
-Dclamd.port=3310