Skip to content

Modify upgrade integration test to upgrade stable#2835

Merged
ihcsim merged 1 commit intomasterfrom
siggy/test-stable-upgrade
May 20, 2019
Merged

Modify upgrade integration test to upgrade stable#2835
ihcsim merged 1 commit intomasterfrom
siggy/test-stable-upgrade

Conversation

@siggy
Copy link
Member

@siggy siggy commented May 20, 2019

In #2679 we introduced an upgrade integration test. At the time we only
supported upgrading from a recent edge. Since that PR, a stable build
was released supporting upgrade.

Modify the upgrade integration test to upgrade from the latest stable
rather than latest edge. This fulfills the original intent of #2669.

Also add some known k8s event warnings.

Signed-off-by: Andrew Seigner [email protected]

@siggy siggy requested a review from ihcsim May 20, 2019 12:22
@siggy siggy self-assigned this May 20, 2019
@l5d-bot
Copy link
Collaborator

l5d-bot commented May 20, 2019

In #2679 we introduced an upgrade integration test. At the time we only
supported upgrading from a recent edge. Since that PR, a stable build
was released supporting upgrade.

Modify the upgrade integration test to upgrade from the latest stable
rather than latest edge. This fulfills the original intent of #2669.

Also add some known k8s event warnings.

Signed-off-by: Andrew Seigner <[email protected]>
@siggy siggy force-pushed the siggy/test-stable-upgrade branch from 007eba6 to 0e19d9e Compare May 20, 2019 12:56
@l5d-bot
Copy link
Collaborator

l5d-bot commented May 20, 2019

Copy link
Contributor

@dadjeibaah dadjeibaah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR LGTM! Thanks for updating this. Just curious, are there cases where w'd like to test for upgrading edge -> stable or vice versa?

@ihcsim
Copy link
Contributor

ihcsim commented May 20, 2019

@dadjeibaah I think it's ok to limit the integration test to just test stable -> stable for now, to cover typical user's production upgrade scenario. There may be some values in covering the edge -> stable scenario (not so sure about stable -> edge), but we will likely run into more test failures related to cluster-scoped resources; i.e. depending on if we run stable -> stable or edge -> stable upgrade first, the test failures might be different.

@dadjeibaah
Copy link
Contributor

@ihcsim that makes sense. Testing for those other use cases are more aligned with edge testing and its not the typical production use case.

@ihcsim ihcsim merged commit bd4c278 into master May 20, 2019
@ihcsim ihcsim deleted the siggy/test-stable-upgrade branch May 20, 2019 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants