Skip to content
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

Improvements to upgrade bash tests #14341

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

barrettj12
Copy link
Contributor

On 3.0, the run_simplestream_metadata_last_stable test was asking snap for the version number for channel 3.0/stable, which doesn't exist yet. I've added a check here so that it will skip the test when no stable version exists. (upgrade from 2.9 is still tested by run_simplestream_metadata_prior_stable).

I also fixed up the logic for prior_stable_version so that it will work for 3.0.

QA steps

cd tests
./main.sh -v upgrade

@wallyworld wallyworld merged commit d3b462b into juju:develop Jul 20, 2022
@barrettj12 barrettj12 deleted the lxd-upgrade-gating branch July 20, 2022 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants