Task #5533 (closed)
Opened 13 years ago
Closed 13 years ago
BUG: testParamLoadingPerformanceTicket failing
Reported by: | wmoore | Owned by: | cblackburn |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-02 (13) |
Description (last modified by cblackburn)
Colin - not sure if you're the best placed to handle this but could you have a look?
====================================================================== FAIL [18.533s]: testParamLoadingPerformanceTicket2285 (integration.scripts.TestScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/will/Desktop/OMERO/components/tools/OmeroPy/test/integration/scripts.py", line 326, in testParamLoadingPerformanceTicket2285 self.assertTrue(params_time < (upload_time/10), "upload_time(%s) <= 10 * params_time(%s)!" % (upload_time, params_time)) AssertionError: upload_time(10.1393539906) <= 10 * params_time(2.02653503418)!
Change History (4)
comment:1 Changed 13 years ago by jmoore
comment:2 Changed 13 years ago by cblackburn
- Description modified (diff)
- Remaining Time set to 0.25
- Status changed from new to accepted
comment:3 Changed 13 years ago by cblackburn
Will, can you confirm what system this was on?
Locally I have to try very hard to make this test fail, changing /10 to /200
====================================================================== FAIL: testParamLoadingPerformanceTicket2285 (__main__.TestScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "integration/scripts.py", line 326, in testParamLoadingPerformanceTicket2285 self.assertTrue(params_time < (upload_time/200), "upload_time(%s) <= 10 * params_time(%s)!" % (upload_time, params_time)) AssertionError: upload_time(1.43250703812) <= 10 * params_time(0.0107128620148)!
this is similar on both Mac and Ubuntu.
comment:4 Changed 13 years ago by wmoore
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
This was on my half-dead laptop - the whole test suite took 49 minutes so it's probably OK to ignore it.
Will, what system was this on? Colin, perhaps you could check in to why it's taking too long. If there's nothing wrong, you might increase the tolerance just a little.