Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3843 from mjs/upgrade-steps-test-refactor
Refactor tests for upgrade-steps worker These revisions make significant changes to the tests for the upgrade-tests worker in order to make it possible to extract the worker into it's own subpackage under "/worker". The tests used to be heavily reliant on the commonMachineSuite suite in cmd/jujud/agent. Highlights: 1. Some tests which were testing functionality that is already better tested elsewhere were removed. 2. The functional style tests which spin up a full machine agent were moved to featuretests and were reworked to use cmd/jujud/agent/testing.AgentSuite. 3. The unit style tests are now based on state/testing.StateSuite (a much simpler base suite). 4. Many many clean ups. There are a number of new TODOs in the new feature tests regarding changes to AgentSuite which are too big too include in this PR. They will be addressed shortly. (Review request: http://reviews.vapour.ws/r/3262/)
- Loading branch information