openmicroscopy/openmicroscopy — pull request #2428 by ximenesuk (2014-05-02 12:57:26+00:00)
Title: Move kill session to global teardown

This is an investigative PR and doesn't need any specific review.

Several Python integration tests fail intermittently with the reason:
```
No valid permissions available! DUMMY permissions are not intended for copying.
```
This is entirely reproducible locally and can be fixed with gh-2188. However, that PR did not have the same effect on Jenkins and intermittent fails of this type have continued. As mentioned in https://github.com/openmicroscopy/openmicroscopy/pull/2188#issuecomment-38259556, killing the root session after every test method may be worth investigating. This PR does that. It may have an effect on the time taken for the whole suite to run, it may have effects on other tests, both of those aspects will be investigated by this PR being in the build for a few days.

If this PR causes any serious problems or prevents other PRs being merged then it can be closed.