diff --git a/qa/smoke-test-plugins-ssl/build.gradle b/qa/smoke-test-plugins-ssl/build.gradle index c16ad8b2e7d..4f05bcc556d 100644 --- a/qa/smoke-test-plugins-ssl/build.gradle +++ b/qa/smoke-test-plugins-ssl/build.gradle @@ -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'