Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ tasks.withType<Test>().configureEach {
onlyIf("skipForkedTests are undefined or false") { !skipForkedTestsProvider.isPresent }
} else {
exclude("**/*ForkedTest*")
// Starting from Gradle 9.3, Gradle will fail if a test task has no discovered tests.
// While this can be a misconfiguration, dd-trace-java test suite conventions allow suites
// to contain abstract base classes that are extended by concrete forked test suites.
//
// Many instrumentation suites indeed only ship *ForkedTest concrete classes
// (the non-forked peer task created by `addTestSuiteExtendingForDir` exists only
// to host shared configurations/sources). Those test tasks won't have executable tests
// by design under the `**/*ForkedTest*` exclude rule above. So let's allow them.
//
// Related but not the issue here https://github.com/gradle/gradle/issues/36508
failOnNoDiscoveredTests = false
}

// Set test timeout for 20 minutes. Default job timeout is 1h (configured on CI level).
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=6f74b601422d6d6fc4e1f9a1ab6522f642c2fdcbc15ae33ebd30ba3d7198e854
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip
distributionSha256Sum=bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
Comment thread
bric3 marked this conversation as resolved.
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 2 additions & 5 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 10 additions & 22 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.