GitHub user ahgittin opened a pull request:
https://github.com/apache/brooklyn-server/pull/560
Attempted non-determinite test fixes
Prompted by the following (from
https://builds.apache.org/job/brooklyn-server-pull-requests/1730/ ):
```
Test Result (3 failures / +3)
org.apache.brooklyn.launcher.CleanOrphanedLocationsIntegrationTest.testCleanedCopiedPersistedState
org.apache.brooklyn.launcher.CleanOrphanedLocationsIntegrationTest.testSelectionWithOrphanedLocationsInData
org.apache.brooklyn.launcher.BrooklynLauncherTest.testErrorsCaughtByApiAndRestApiWorks
```
The first two have been observed in several places, and might be fixed by
the first commit here. The second one is less frequent but the second commit
here might help and should improve logging.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/brooklyn-server orphan-test-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/560.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 #560
----
commit d07c2af901d50f7a2c2767f1175bf990c327489c
Author: Alex Heneveld <[email protected]>
Date: 2017-02-16T09:09:33Z
attempt to fix non-det failures by forcing a persist
commit 08608b1132bc42319a1f216c02159d2e0d76e31c
Author: Alex Heneveld <[email protected]>
Date: 2017-02-16T09:32:01Z
a retry and extra logging when bind exception happens
to fix non-det test failures on server, due to bind conflicts
----
---
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.
---