Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11455 (closed)

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

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 8 years ago by bpindelski

  • Owner set to bpindelski
  • Status changed from new to accepted

comment:2 Changed 8 years ago by bpindelski

comment:3 Changed 8 years ago by bpindelski

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:4 Changed 8 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)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.85877 sec.)

We're Hiring!