openmicroscopy/openmicroscopy — pull request #1573 by bpindelski (2013-10-02 13:29:22+00:00)
Title: Fix intermittent omero.LockTimeout-s in OmeroJava tests (see #11455) (rebased onto develop)

This is the same as gh-1499 but rebased onto develop.

----

This PR utilises the ``SimpleBackOff`` class to measure the average delay of the system on which OMERO.server is running. This is then used in defining the command callback timeout in the integration tests. This should hopefully fix the omero.LockTimeout which was thrown from ``AbstractServerTest.java`` from time to time and broke http://hudson.openmicroscopy.org.uk/view/All/job/OmeroJava-integration-stable/.

To test - verify that http://hudson.openmicroscopy.org.uk/view/All/job/OmeroJava-integration-stable/ is green. Always.