tests depend on precise values factory returns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Launchpad itself |
High
|
Curtis Hovey |
Bug Description
I changed the factory to return different values from getUniqueInteger (from where all the uniquification comes in the factory) and the following tests failed:
lp.codehosting.
lp.soyuz.
archive-
branch-karma_txt (code)
person-
xx-branch-index_txt (code)
xx-distribution
These tests should all be fixed.
Related branches
- Paul Hummer (community): Approve (code) on 2010-05-12
-
Diff: 145 lines (+29/-49)2 files modifiedlib/lp/code/doc/branch-karma.txt (+3/-2)
lib/lp/code/stories/branches/xx-branch-index.txt (+26/-47)
- Eleanor Berger (community): Approve on 2010-05-17
-
Diff: 53 lines (+9/-6)2 files modifiedlib/lp/registry/browser/tests/person-admin-views.txt (+3/-2)
lib/lp/soyuz/stories/distribution/xx-distribution-packages.txt (+6/-4)
Changed in soyuz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: tech-debt |
Changed in launchpad-registry: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 10.05 |
tags: | added: trivial |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 10.05 |
Tim Penhey (thumper) wrote : | #1 |
Changed in launchpad-code: | |
status: | Triaged → In Progress |
assignee: | nobody → Tim Penhey (thumper) |
Michael Hudson-Doyle (mwhudson) wrote : | #2 |
Ah, looking at the error I see that what happened was that the name of the branch was longer, and so the subject header wrapped:
AssertionError: not equal:
a = u'[Branch ~person-
b = '[Branch ~person-
I guess this is a fragility in the test, but not a very serious one.
Changed in launchpad-registry: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Fixed in stable r10860 <http://
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
tags: | added: qa-needstesting |
Ursula Junque (ursinha) wrote : | #4 |
Fixed in stable r10875 <http://
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Triaged → Fix Released |
lp.codehosting. scanner. tests.test_ email.TestBzrSy ncEmail. test_import_ uncommit passes when I change the default start value.
The code looks fine. Do you have the original failure email?