Skip to content

Commit

Permalink
Depend on released version of Otel (#60)
Browse files Browse the repository at this point in the history
* Depend on released version of Otel

* Try to make smoke tests faster and more stable in CI
  • Loading branch information
iNikem authored Dec 11, 2020
1 parent dd1fde1 commit de68304
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ subprojects {

extra.set("versions", mapOf(
"opentelemetry" to "0.12.0",
"opentelemetryJavaagent" to "0.13.0-SNAPSHOT"
"opentelemetryJavaagent" to "0.12.0"
))

repositories {
Expand Down
9 changes: 8 additions & 1 deletion smoke-tests/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
java
id("org.gradle.test-retry") version "1.2.0"
}

dependencies {
Expand All @@ -16,11 +17,17 @@ dependencies {

tasks.test {
useJUnitPlatform()
maxParallelForks = 2
retry {
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
maxRetries.set(if (System.getenv("CI") != null) 5 else 0)
}

reports {
junitXml.isOutputPerTestCase = true
}

val shadowTask : Jar = project(":agent").tasks.named<Jar>("shadowJar").get()
val shadowTask: Jar = project(":agent").tasks.named<Jar>("shadowJar").get()
inputs.files(layout.files(shadowTask))

doFirst {
Expand Down

0 comments on commit de68304

Please sign in to comment.