Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lijamie98 committed May 8, 2024
1 parent 02b81ed commit 883b878
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 36 deletions.
5 changes: 0 additions & 5 deletions api-schema/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,4 @@ dependencies {
annotationProcessor(libs.lombok)
}

apply(from = "$rootDir/scripts.gradle.kts")
@Suppress("UNCHECKED_CAST")
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit

// Disable for test stability
//tasks.test { enableTestConcurrency(this) }
10 changes: 1 addition & 9 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,4 @@ publishing {

apply<SigningPlugin>()
configure<SigningExtension> { sign(publishing.publications) }
}

apply(from = "$rootDir/scripts.gradle.kts")

@Suppress("UNCHECKED_CAST")
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit

// Disable for test stability
//tasks.test { enableTestConcurrency(this) }
}
8 changes: 0 additions & 8 deletions essential-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,7 @@ dependencies {

tasks { bootJar { enabled = false } }

// The following is to enable test concurrency
apply(from = "$rootDir/scripts.gradle.kts")
@Suppress("UNCHECKED_CAST")
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit

tasks.test {
// Disable for test stability

// enableTestConcurrency(this)
exclude("**/org/stellar/anchor/platform/*Test.class")
exclude("**/org/stellar/anchor/platform/integrationtest/**")
exclude("**/org/stellar/anchor/platform/e2etest/**")
Expand Down
9 changes: 1 addition & 8 deletions extended-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,4 @@ dependencies {

tasks { bootJar { enabled = false } }

// The following is to enable test concurrency
apply(from = "$rootDir/scripts.gradle.kts")

@Suppress("UNCHECKED_CAST")
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit

// Disable for test stability
//tasks.test { exclude("**/org/stellar/anchor/platform/extendedtest/**") }
tasks.test { exclude("**/org/stellar/anchor/platform/extendedtest/**") }
6 changes: 0 additions & 6 deletions platform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,7 @@ dependencies {
testImplementation(libs.okhttp3.tls)
}

apply(from = "$rootDir/scripts.gradle.kts")
@Suppress("UNCHECKED_CAST")
val enableTestConcurrency = extra["enableTestConcurrency"] as (Test) -> Unit

tasks.test {
// Disable for test stability
// enableTestConcurrency(this)
testLogging {
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
events = setOf(org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED)
Expand Down

0 comments on commit 883b878

Please sign in to comment.