Akshat-Jain commented on code in PR #16313: URL: https://github.com/apache/druid/pull/16313#discussion_r1596202531
########## integration-tests/README.md: ########## @@ -68,7 +68,7 @@ The list of test groups can be found at ### Run a single test -To run only a single test using Maven: +To run only a single test using Maven, run the following command from `integration-tests` directory: Review Comment: @cryptoe I tried running `mvn verify -P integration-tests -Dgroups=batch-index` from root directory, it didn't run any test and exited with the following error: ``` [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.7:check (report) on project druid-azure-extensions: Coverage checks have not been met. See log for details. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :druid-azure-extensions ``` Then tried running `mvn verify -P integration-tests -Dgroups=batch-index -Djacoco.skip=true` from the root directory, it ran a bunch of tests for `com.google.common.collect.testing.testers` (not sure why), and then exited with the following error: ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project simple-client-sslcontext: groups/excludedGroups require TestNG, JUnit48+ or JUnit 5 (a specific engine required on classpath) on project test classpath -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :simple-client-sslcontext ``` In comparison, running the command from `integration-tests` directory (or with `-pl integration-tests` flag from the root directory) started creating the certificates etc as per our integration-tests scripts, and then started executing our tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
