Skip to content

Commit

Permalink
Working around Gradle bugs; fixes gh-1910
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Jun 26, 2023
1 parent 42873a2 commit 38fb1bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions samples/standalone/dsl/http-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ dependencies {
}

contractTest {
useJUnitPlatform()
doFirst { // https://github.com/spring-cloud/spring-cloud-contract/issues/1910
useJUnitPlatform()
}
systemProperty 'spring.profiles.active', 'gradle'
// testLogging {
// exceptionFormat = 'full'
// }
testLogging {
exceptionFormat = 'full'
}
afterSuite { desc, result ->
if (!desc.parent) {
println "Results: (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
Expand Down

0 comments on commit 38fb1bd

Please sign in to comment.