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 #6041 (closed)

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: Failing test3138 login timing

Reported by: wmoore Owned by: jamoore
Priority: major Milestone: OMERO-4.4
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-01-17 (6)

Description

Turning this failing test back on...

wjm:OmeroPy will$ python test/integration/tickets4000.py TestTickets4000.test3138
F
======================================================================
FAIL: test3138 (__main__.TestTickets4000)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/tickets4000.py", line 30, in test3138
    self.loginAttempt(name, 0.1, "GOOD", less=True)
  File "test/integration/tickets4000.py", line 48, in loginAttempt
    self.assertTrue(T < t, "%s > %s" % (T, t))
AssertionError: 0.122413873672 > 0.1

----------------------------------------------------------------------
Ran 1 test in 4.411s

FAILED (failures=1)

Change History (10)

comment:1 Changed 13 years ago by Will Moore <will@…>

(In [dd2c29ee9ae64defc9def9aace08dde7269babc9/ome.git] on branch develop) Turning back on OmeroPy integration test3138. See #3138, #6041

comment:2 Changed 13 years ago by jburel

We probably need to push that ticket or turning the test off with a comment.
Josh is now away until 18/07

comment:3 Changed 13 years ago by jburel

  • Milestone changed from OMERO-Beta4.3.1 to OMERO-Beta4.3.2

comment:4 Changed 13 years ago by jburel

Referencing ticket #4329 has changed sprint.

comment:5 Changed 13 years ago by jburel

Referencing ticket #4329 has changed sprint.

comment:6 Changed 13 years ago by jburel

  • Milestone changed from OMERO-Beta4.3.2 to OME-5.0

comment:7 Changed 12 years ago by jmoore

  • Remaining Time set to 0.1
  • Sprint set to 2012-01-17 (6)
  • Status changed from new to accepted

I'm going to up the default permissible log-in time a wee bit (0.15 seconds) but really if it's any longer, then we've got problems.

comment:8 Changed 12 years ago by jmoore

Note: the loginAttemptListener was disabled by accident 3c0039b563c945ea5e56a03eb87a842774b85139/ome.git (#6885), meaning this test was failing for other reasons.

comment:9 Changed 12 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

New login time (0.15) and activated loginAttemptListener committed to my sprint6-server-backlog branch.

comment:10 Changed 12 years ago by jmoore <josh@…>

(In [acbb057a12d1428b26a81512464a9ef6ebba6c8d/ome.git] on branch develop) Activate loginAttemptListener and fix test (Fix #6041)

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.72397 sec.)

We're Hiring!