Enable Wildfly tests on JDK 9 and JDK 10
Previously we disabled these tests on JDK 9 and JDK 10 because Wildfly 10 did not support JDK 9 and JDK 10. With the release of Wildfly 11 supporting JDK 9 and JDK 10 and now that we depend on Wildfly 11 in these tests, we can enable these tests on JDK 9 and JDK 10. Relates #28042
This commit is contained in:
parent
8925dabcb8
commit
6f52fbeac6
|
@ -84,7 +84,7 @@ task deploy(type: Copy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
task writeElasticsearchProperties {
|
task writeElasticsearchProperties {
|
||||||
onlyIf { !Os.isFamily(Os.FAMILY_WINDOWS) && project.rootProject.ext.javaVersion == JavaVersion.VERSION_1_8 }
|
onlyIf { !Os.isFamily(Os.FAMILY_WINDOWS) }
|
||||||
dependsOn 'integTestCluster#wait', deploy
|
dependsOn 'integTestCluster#wait', deploy
|
||||||
doLast {
|
doLast {
|
||||||
final File elasticsearchProperties = file("${wildflyInstall}/standalone/configuration/elasticsearch.properties")
|
final File elasticsearchProperties = file("${wildflyInstall}/standalone/configuration/elasticsearch.properties")
|
||||||
|
@ -177,7 +177,7 @@ task stopWildfly(type: LoggedExec) {
|
||||||
commandLine "${wildflyInstall}/bin/jboss-cli.sh", "--controller=localhost:${-> managementPort}", "--connect", "command=shutdown"
|
commandLine "${wildflyInstall}/bin/jboss-cli.sh", "--controller=localhost:${-> managementPort}", "--connect", "command=shutdown"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Os.isFamily(Os.FAMILY_WINDOWS) && project.rootProject.ext.javaVersion == JavaVersion.VERSION_1_8) {
|
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||||
integTestRunner.dependsOn(configureTransportClient)
|
integTestRunner.dependsOn(configureTransportClient)
|
||||||
final TaskExecutionAdapter logDumpListener = new TaskExecutionAdapter() {
|
final TaskExecutionAdapter logDumpListener = new TaskExecutionAdapter() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue