Task #11455 (closed)
Bug: OmeroJava/AbstracServerTest.java throws omero.LockTimeout
Reported by: | bpindelski | Owned by: | bpindelski |
---|---|---|---|
Priority: | major | Milestone: | Testing2 |
Component: | Services | Version: | 4.4.8 |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
The callback(boolean passes, omero.client c, omero.cmd.Request... reqs) method in AbstractServerTest.java can throw an omero.LockTimeout? if the callback takes too long to execute. Josh suggested injecting SimpleBackOff? into the class and using the scaling factor to adjust the numbers in the call to the loop(int loops, long ms) CmdCallbackI method.
Change History (4)
comment:1 Changed 6 years ago by bpindelski
- Owner set to bpindelski
- Status changed from new to accepted
comment:2 Changed 6 years ago by bpindelski
comment:3 Changed 6 years ago by bpindelski
- Resolution set to fixed
- Status changed from accepted to closed
comment:4 Changed 6 years ago by Josh Moore <josh@…>
(In [8587215b0e6d87e7954861e03647d1dab87181c2/ome.git]on branches master, dev_4_4) Merge pull request #1499 from bpindelski/11455-locktimeout
Fix intermittent omero.LockTimeout?-s in OmeroJava tests (see #11455)
Closing in favor of discussion in https://github.com/openmicroscopy/openmicroscopy/pull/1499.