GitHub user aledsage reopened a pull request:
https://github.com/apache/incubator-brooklyn/pull/278
Fix HighAvailabilityManagerSplitBrainTest
Test was failing non-deterministically in various branch jenkins builds.
- If testStandbyRebind ran before testDoubleRebindFails, then the
latter would fail because TestEntityFailingRebind.throwOnRebind
had been set to false.
- Therefore always restore the value in tearDown, and set it to
true in setUp
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/incubator-brooklyn
fix/HighAvailabilityManagerSplitBrainTest
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/278.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #278
----
commit 1829cee4a1d66023f237adbf0fd1a664892c6beb
Author: Aled Sage <[email protected]>
Date: 2014-10-28T17:53:45Z
Fix HighAvailabilityManagerSplitBrainTest
- If testStandbyRebind ran before testDoubleRebindFails, then the
latter would fail because TestEntityFailingRebind.throwOnRebind
had been set to false.
- Therefore always restore the value in tearDown, and set it to
true in setUp
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---