timing-dependent failures in test_adapter.txt

Bug #928308 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Aaron Bentley

Bug Description

test_adapter.txt assumes that a request will take 0 ms to complete, and if it takes longer, it fails:

File "lib/lp/services/webapp/doc/test_adapter.txt", line 340, in test_adapter.txt
Failed example:
    get_request_statements()
Differences (ndiff with -expected +actual):
    - [(0, 0, 'SQL-main-master', 'SELECT 2', ...)]
    + [(0, 1, 'SQL-main-master', 'SELECT 2', ' File "bin/test", line 278, in <m
odule>\n testrunner.run([])\n File "/home/abentley/launchpad/stable/eggs/zop
e.testing-3.9.4_p4-py2.6.egg/zope/testing/testrunner/__init__.py", line 32, in run\n failed = run_internal(defaults, args, script_parts=script_parts)\n File "/home/abentley/launchpad/stable/eggs/zope.testing-3.9.4_p4-py2.6.egg/zope/testing/testrunner/__init__.py", line 45, in run_internal\n runner.run()\n File "/home/abentley/launchpad/stable/eggs/zope.testing-3.9.4_p4-py2.6.egg/zope/testi

Related branches

Aaron Bentley (abentley)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
tags: added: spurious-test-failure
Changed in launchpad:
assignee: nobody → Aaron Bentley (abentley)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r14764 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/14764) by a commit, but not testable.

tags: added: qa-untestable
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.