Properly mute test involving JDK11 closes #31739

This commit is contained in:
Alpar Torok 2018-07-06 09:58:35 +03:00
parent a5f5ea8422
commit eaa247d543
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ if (rootProject.ext.compilerJavaVersion.isJava11()) {
].join(',') ].join(',')
} }
} }
if (rootProject.ext.compilerJavaVersion.isJava11()) { if (rootProject.ext.runtimeJavaVersion.isJava11() || rootProject.ext.compilerJavaVersion.isJava11()) {
// TODO remove when: https://github.com/elastic/elasticsearch/issues/31498 // TODO remove when: https://github.com/elastic/elasticsearch/issues/31498
integTestHa.enabled = false integTestHa.enabled = false
} }