-
Notifications
You must be signed in to change notification settings - Fork 95
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
nebari upgrade CLI tests #1963
nebari upgrade CLI tests #1963
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.
Thanks @sblair-metrostar for these tests!
I currently see four tests failing. One is a test_upgrade_does_nothing_on_same_version
and the other three appear to be tests written for the 0.4.0 upgrade. For the old 0.4.0 upgrade tests, I would be alright if we tore those out given how old they are and I don't think the maintenance burden is worth it.
No they're failing as a side effect of my attempt to fix the dask_worker section upgrade. It looks like there is a bug somewhere but it's not what I thought it was. Will reach out this morning to run it by you. |
@iameskild I've updated the details of #1961. There was a bug with that behavior but wasn't what I thought it was initially. |
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.
Thanks for the fixes @sblair-metrostar!
One question I forgot to ask earlier was around new releases. Before cut a new release, we need add a new Upgrade_
class and, with these changes, we should also add another test for that upgrade. Is that how you were also envisioning this?
That would be my expectation, yes. There's some quirkiness around whether or not there's a release specific UpgradeStep in nebari or not and a few tests that only work with the "current" version we'll want to keep an eye on. But we should just be able to add a test that covers the 7.2 to 9.1 upgrade path with any specific yaml assertions we'd expect in addition to the version getting ticked up. |
Related to #1955 |
Reference Issues or PRs
#1862
Fixes #1961
Fixes #1962
What does this implement/fix?
Put a
x
in the boxes that applyTesting
Any other comments?