-
Notifications
You must be signed in to change notification settings - Fork 18
[DPE-8314] Upgrade Jubilant tests #687
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
[DPE-8314] Upgrade Jubilant tests #687
Conversation
a14d8ef
to
5e18658
Compare
5e18658
to
51cfc11
Compare
👋🏻 Hey folks! A couple of things worth discussing when reviewing this PR:
|
I believe jubilant has support for juju 2 through https://github.com/tonyandrewmeyer/jubilant-backports, could we use that? Also, I believe Tony is currently working to upstream that into official jubilant
@paulomach does refresh v1 without pre-upgrade-check work at all? I thought that wasn't supported; surprised we have a test for that |
Yes, that would be ideal.
It's strongly not recommend and can cause some availability disruption, but we did include some code here and there on the charm to mitigate a catastrophe ;) |
I have my concerns about using a package hanging from a GitHub user (despite being a Canonical employee), and not from an organization. Apparently, only a single repo in the whole organization is using it (see GitHub search). Nevertheless, it seems you both are for it, so I will investigate and report my findings. What should we do about the skip_pre_upgrade_check then?
|
c9d1863
to
60ec76a
Compare
60ec76a
to
76e6183
Compare
76e6183
to
6d70aa7
Compare
Just chatted with Tony Meyers. He guaranteed that the Both this and K8s PR are ready for review, aside from:
|
6d70aa7
to
5f6b91b
Compare
tests/integration/high_availability/high_availability_helpers_new.py
Outdated
Show resolved
Hide resolved
tests/integration/high_availability/high_availability_helpers_new.py
Outdated
Show resolved
Hide resolved
tests/integration/high_availability/high_availability_helpers_new.py
Outdated
Show resolved
Hide resolved
tests/integration/high_availability/test_upgrade_rollback_incompat_juju_3.py
Outdated
Show resolved
Hide resolved
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
tests/integration/high_availability/test_upgrade_rollback_incompat_juju_3.py
Outdated
Show resolved
Hide resolved
Rewritten upgrade tests moved to the existing Python files. |
e095733
to
1eb238e
Compare
1eb238e
to
c76bc0e
Compare
This PR refactors the upgrade set of tests to Jubilant (JuJu 3 exclusive):
The
_juju_3
suffix has been added to the file names containing the ported integration tests to differentiate the Juju 3 exclusive tests, from their juju version agnostic siblings. Can discuss an alternative terminology.