Skip to content

Commit

Permalink
Only run smoke tests if requested (#2385)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNikem committed Feb 23, 2021
1 parent f7b8254 commit b6c2a85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smoke-tests/smoke-tests.gradle
Expand Up @@ -32,7 +32,9 @@ test {
inputs.files(tasks.findByPath(':javaagent:shadowJar').outputs.files)
maxParallelForks = 2

timeout = Duration.ofMinutes(30)
timeout.set(Duration.ofMinutes(30))

enabled = System.getenv("CI") != null || findProperty('runSmokeTests')

doFirst {
jvmArgs "-Dio.opentelemetry.smoketest.agent.shadowJar.path=${project(':javaagent').tasks.shadowJar.archivePath}"
Expand Down

0 comments on commit b6c2a85

Please sign in to comment.