timing-dependent failures in test_adapter.txt
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/
Failed example:
get_
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.
e.testing-
Related branches
- Abel Deuring (community): Approve (code)
-
Diff: 12 lines (+1/-1)1 file modifiedlib/lp/services/webapp/doc/test_adapter.txt (+1/-1)
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 |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r14764 (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 14764) by a commit, but not testable.