Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Specify credential when adding a model #66
Conversation
| - context.juju_controller.add_model(name), 30) | ||
| + context.juju_controller.add_model(name, | ||
| + credential_name=credential), | ||
| + 30) |
| + await self.destroy_model(context) | ||
| + except Exception as e: | ||
| + log.error('Error destroying model: %s', e) | ||
| + log.debug("%s Complete %s %s", test.name, success, context.states) |
petevg
Jan 5, 2017
Collaborator
This log message will always be excluded from the crash dump, which is a shame, because it tells you whether the test succeeded or failed.
|
LGTM/+1 |
johnsca
merged commit 0376f6c
into
master
Jan 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
johnsca commentedJan 5, 2017
This shouldn't be necessary, as it should use a reasonable default based on the controller's cloud. But if the controller is registered using
juju register, it won't do the right thing.See https://bugs.launchpad.net/juju/+bug/1652171
Fixes #60