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

Opened 13 years ago

Closed 13 years ago

Bug: Failing test testDatasetWrapper

Reported by: wmoore Owned by: cblackburn
Priority: major Milestone: OMERO-Beta4.3.2
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-09-15 (5)

Description

Looked at this myself, but not sure of the logic that is failing. Possibly something being created by another test and not getting deleted (because the other test failed)?

wjm:OmeroPy will$ python test/gatewaytest/wrapper.py
.F.....
======================================================================
FAIL: testDatasetWrapper (__main__.WrapperTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/gatewaytest/wrapper.py", line 87, in testDatasetWrapper
    self.assertEqual(d.countChildren_cached(), 4)
AssertionError: 8L != 4

----------------------------------------------------------------------
Ran 7 tests in 33.390s

FAILED (failures=1)

Change History (6)

comment:1 Changed 13 years ago by jmoore

  • Cc cneves-x added
  • Owner cneves-x deleted

Taking away from Carlos so someone else can pick up.

comment:2 Changed 13 years ago by atarkowska

  • Sprint set to 2011-09-15 (5)

comment:3 Changed 13 years ago by atarkowska

  • Owner set to atarkowska

comment:4 Changed 13 years ago by atarkowska

  • Owner changed from atarkowska to cblackburn

comment:5 Changed 13 years ago by cblackburn

  • Remaining Time set to 0.25
  • Status changed from new to accepted

comment:6 Changed 13 years ago by cblackburn

  • Remaining Time changed from 0.25 to 0
  • Resolution set to worksforme
  • Status changed from accepted to closed

This test passes locally for me. I am sure Will is right that the failure is the result of a failed delete elsewhere in the suite. Running this test following each other test, even those that had errors or exceptions, failed to reproduce. So closing for now, may need to reopen.

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

We're Hiring!