Fix running condition for smoke-tests
@@ -34,7 +34,9 @@ test {
timeout.set(Duration.ofMinutes(30))
- enabled = System.getenv("CI") != null || findProperty('runSmokeTests')
+ //We enable/disable smoke tests based on the java version requests
+ //In addition to that we disable them by default on local machines
+ enabled = enabled && (System.getenv("CI") != null || findProperty('runSmokeTests'))
doFirst {
jvmArgs "-Dio.opentelemetry.smoketest.agent.shadowJar.path=${project(':javaagent').tasks.shadowJar.archivePath}"
