worker/machiner: rewrite tests as unit tests #6892

Merged
merged 1 commit into from Feb 1, 2017

Conversation

Projects
None yet
4 participants
Member

axw commented Jan 31, 2017

Rewrite the existing worker/machiner JujuConnSuite
tests to be unit tests. There's still some patching
going on as there was before, but there is no longer
any interaction with Mongo.

This should fix some intermittent CI test failures. It
also cuts down the test time. The tests for this package
now run in less than a second on my laptop, whereas
they were taking 7-11s before.

Fixes: https://bugs.launchpad.net/juju/+bug/1659011

worker/machiner: rewrite tests as unit tests
Rewrite the existing worker/machiner JujuConnSuite
tests to be unit tests. There's still some patching
going on as there was before, but there is no longer
any interaction with Mongo.
Contributor

reedobrien commented Jan 31, 2017

w00t

Member

axw commented Jan 31, 2017

!!bangbang!!

Member

axw commented Feb 1, 2017

!!banghello?bang!!

Member

axw commented Feb 1, 2017

$$merge$$

Contributor

jujubot commented Feb 1, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 81023ab into juju:2.1 Feb 1, 2017

1 check passed

github-check-merge-juju Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment