canonical.config.config is global state with ill defined lifetime
Bug #662354 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
canonical.
This results in a few problems:
- test isolation is tricky because there isn't any defined way to turn the config off completely (so that tests outside the lifetime of a transient config can error cleanly)
- the push/pop idiom becomes a bit magical - this may be addressable by tighter semantics
- we can't run two differently configured things in-process without hilarity ensuing
It would be lovely to get rid of this global and instead tie it to our processing context (currently the IAnnotations zope participation.
tags: | added: parallel-tests |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: |
added: paralleltest removed: parallel-tests |
To post a comment you must log in.