[SOLVED] Gradle command to run x-pack / SQL integration test?

sql

(Christophe Bismuth) #1

Hi,

Could someone please tell me how to run an x-pack / SQL integration test from Gradle?

Here is what I've done:

./gradlew :x-pack:plugin:sql:integTestRunner test -Dtests.class=org.elasticsearch.xpack.sql.qa.security.JdbcConnectionIT --stacktrace

But then the error output is:

Caused by: : There were no executed tests: 0 suites, 0 tests

Thanks,
Chris


(Christophe Bismuth) #2

Finally got it:

./gradlew :x-pack:plugin:sql:qa:security:without-ssl:integTestRunner -Dtests.class="*JdbcConnectionIT"