-
Notifications
You must be signed in to change notification settings - Fork 23
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
Tests for juju-http(s)-proxy environment variables #447
Tests for juju-http(s)-proxy environment variables #447
Conversation
e096727
to
dd7345b
Compare
270f221
to
d8b3518
Compare
87c56cd
to
9094cf2
Compare
from .base import ( | ||
UseModel, | ||
_juju_wait | ||
) |
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.
You dont need UseModel anymore and _juju_wait has moved to utils. There is a fixture named model
in conftest.py so you just need to pass that into your tests
from .base import ( | ||
UseModel, | ||
_juju_wait | ||
) |
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.
same as above
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.
Looks good other than those minor items, get those fixed up and we can merge this, thanks!
Added integration test for HTTP proxy config using the juju-http-proxy model settings. Need to add tests for https, containerd, and layer-docker.
Added integration tests to check if juju proxy keys exist and override defined proxy values on the application.
Added tests to check layer-docker, charm-docker, and charm-containerd for correct setting of HTTP(S) environment variables.
Added tests to check for removal of https keys, refactored code, and improved regex.
More refractoring, moved proxy out to resolve crashing issues. Tests should be good to go.
Added missing removal of kubernetes-worker runtime relation.
Fixed destroying model at end of test.
Fixed model destroy call.
Controller causes tests to error out because of a missing connection.
Corrected errors in Jenkinsfiles when referring to parameters and renamed files appropriately.
Removed UseModel for current model fixture, also moved _juju_wait to import from utils.py.
9094cf2
to
7e0ed55
Compare
Minor changes to reverse checks for precedence.
Thanks! |
Added tests to check layer-docker, charm-docker, and charm-containerd for correct setting of HTTP(S) environment variables.