mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
Stop server after Java ITs finish
Otherwise, the server would not be stoppen when an integration test fails
This commit is contained in:
@@ -78,6 +78,7 @@ task javaIntegrationTests(type: Test) {
|
||||
include '**/*ITCase.class'
|
||||
exclude '**/*Test.class'
|
||||
ignoreFailures = project.isCI
|
||||
finalizedBy = ['stopScmServer']
|
||||
|
||||
dependsOn 'test', 'startScmServer'
|
||||
mustRunAfter 'startScmServer'
|
||||
@@ -109,7 +110,6 @@ task updateE2eTestTimestamps(type: TouchFiles) {
|
||||
|
||||
task integrationTest {
|
||||
dependsOn(javaIntegrationTests, e2eTests)
|
||||
finalizedBy = ['stopScmServer']
|
||||
description = "Runs all integration tests."
|
||||
group = "verification"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user