Hey Ricke, thanks for the question!
I can confirm that "mvn verify" will run integration tests, including those integration tests which leverage ccm to manage their backing cluster. The Java driver includes an integration test framework which will invoke ccm behind the scenes to create and tear down a ccm cluster for tests which require such a thing. You can find more details in the
CcmBridge class within the project.
If you want to see extensive details on what ccm is doing you can change the CcmBridge class to force debug logging for everything it executes. The following patch (against 4.x as of this writing) will make it happen:
diff --git a/test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/CcmBridge.java b/test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/CcmBridge.java
index cef9e13c4..4dcb9ee5c 100644
--- a/test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/CcmBridge.java
+++ b/test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/CcmBridge.java
@@ -339,7 +339,7 @@ public class CcmBridge implements AutoCloseable {
}
private void execute(CommandLine cli) {
- execute(cli, false);
+ execute(cli, true);
}
private void executeCheckLogError() {
If you then run "mvn verify" you should see a considerable amount of ccm logging. This logging can get quite verbose quite quickly, however, so you may want to execute just a single test:
mvn verify -Dtest="com.datastax.oss.driver.core.metadata.SchemaAgreementIT" -DfailIfNoTests=false
Thanks again for the question!
- Bret -