Stop server after Java ITs finish

Otherwise, the server would not be stoppen when an
integration test fails
This commit is contained in:
René Pfeuffer
2021-01-13 16:22:27 +01:00
parent 64cb20a951
commit 76ea458981

View File

@@ -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"
}