-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev] Use 'juju exec' instead of 'juju run' for acceptance tests #12483
[dev] Use 'juju exec' instead of 'juju run' for acceptance tests #12483
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to be really bad here and say python 3... python 2 is dead and so should our support for tests that don't support python 3.
Otherwise, the code is fine.
@SimonRichardson the deploy_stack-based ones should (at least one of them does) run with python3 now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment with a check that looked a bit wordy for my tastes. Changes aren't necessary, though, and this generally LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than @petevg nit's I think I'm fine with this.
The "juju run" command on the develop branch is now used to execute actions. The previous functionality is now provided by the "juju exec" command instead. This commit updates the acceptance tests to use the new command.
111a15a
to
f8f004e
Compare
|
The "juju run" command on the develop branch is now used to execute
actions. The previous functionality is now provided by the "juju exec"
command instead. This commit updates the acceptance tests to use the new
command.
QA steps
You will need a python 2 virtual env for this. The tests have been updated to work with python3