environs tests not well isolated

Bug #1154942 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

If you do:
 cd juju-core/environs
 go test -gocheck.v -gocheck.f Default
You'll get a panic about
  "cannot share a state between two dummy environs; old "only"; new "erewhemos"

However, if you run all tests, then everything passes. Apparently one of the Default tests isn't cleaning up after itself, and some *other* test is cleaning things up by the time the TestNewFromNameGetDefault runs.

Related branches

William Reade (fwereade)
Changed in juju-core:
status: Confirmed → Triaged
tags: added: bitesize
Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → dev-docs
status: Triaged → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
milestone: dev-docs → none
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.14.0
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.