canonical.config.config is global state with ill defined lifetime

Bug #662354 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

canonical.config.config is global state with ill defined lifetime

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.

Gary Poster (gary)
tags: added: parallel-tests
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Gary Poster (gary)
tags: added: paralleltest
removed: parallel-tests
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.