Merge pull request elastic/elasticsearch#1053 from rmuir/openssl_windows

smoke-test-plugins-ssl shoudl check if openssl is available

Original commit: elastic/x-pack-elasticsearch@7eb76fdf3a
This commit is contained in:
Robert Muir 2015-11-30 08:58:09 -05:00
commit d8e4c06522
1 changed files with 8 additions and 0 deletions

View File

@ -157,6 +157,14 @@ for (Project subproj : project.rootProject.subprojects) {
}
integTest {
// in some environments, openssl might not be available
try {
int ret = Runtime.getRuntime().exec("openssl version").waitFor();
enabled = (ret == 0);
} catch (IOException unavailable) {
enabled = false;
}
cluster {
// TODO: use some variable here for port number
systemProperty 'es.marvel.agent.exporter.es.hosts', 'https://marvel_export:changeme@localhost:9400'