Halt OpenLDAP fixture after :x-pack-elasticsearch:qa:openldap-tests:test

Currently the OpenLDAP vagrant fixture is not halted.
Reruning the test will fail because the new fixture instance will try to bind to
the same host ports. Project :x-pack-elasticsearch:qa:openldap-tests:test is
the only one using the OpenLDAP fixture from
:x-pack-elasticsearch:test:openldap-fixture.

relates elastic/x-pack-elasticsearch#2619

Original commit: elastic/x-pack-elasticsearch@bea2f81b76
This commit is contained in:
Albert Zaharovits 2017-11-08 19:57:29 +02:00 committed by GitHub
parent 96d0a374a4
commit 872f2558c9
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ task openLdapFixture {
if (project.rootProject.vagrantSupported) {
test.dependsOn openLdapFixture
test.finalizedBy ":x-pack-elasticsearch:test:openldap-fixture:halt"
} else {
test.enabled = false
}