cmd/juju/commands: not all tests are being run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Andrew Wilkins |
Bug Description
I just ran the tests in the "cmd/juju/commands" package, and expected one to fail. It didn't. Tail of the output for that package:
PASS: machine_test.go:35: MachineSuite.
PASS: machine_test.go:48: MachineSuite.
PASS: main_test.go:154: MainSuite.
PASS: main_test.go:621: MainSuite.
ok github.
Spot the difference with the output from a different package:
PASS: metricsdebug_
PASS: metricsdebug_
PASS: metricsdebug_
OK: 10 passed
PASS
ok github.
Something is most likely calling os.Exit(0).
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta7 → none |
milestone: | none → 2.0-beta7 |
Here's the culprit:
START: main_test.go:179: MainSuite. TestFirstRun2xF rom1x :872: MainSuite.SetUpTest :872: MainSuite.SetUpTest 0.000s
START: <autogenerated>
PASS: <autogenerated>
ok github. com/juju/ juju/cmd/ juju/commands 0.756s