[7x backport] Remove redundant shouldRunAfter (#12316)

Clean backport of #12314

The `shouldRunAfter` specified in the main script body was causing the runIntegrationTests
task to be evaluated even when it should not have been, causing unnecessary failures
when artifacts required only for integration tests are unavailable.
This can be removed, because the `shouldRunAfter` relationship for the `runIntegrationTests`
task is already defined in the task body.
This commit is contained in:
Rob Bavey 2020-10-07 11:38:50 -04:00 committed by GitHub
parent 5ad7bbb03b
commit a6a31ec428
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -513,7 +513,6 @@ bootstrap.dependsOn assemblyDeps
// to compartimentalize failures is needed going forward
//check.dependsOn runIntegrationTest
runIntegrationTests.shouldRunAfter tasks.getByPath(":logstash-core:test")
def selectOsType() {
if (project.ext.has("jdk_bundle_os")) {