Fix running condition for smoke-tests
MODIFY
smoke-tests/smoke-tests.gradle
smoke-tests/smoke-tests.gradle
@@ -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}"

Fix running condition for smoke-tests (#2389)