-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Migrate upgrade tests to the new framework #10216
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
Merged
knative-prow-robot
merged 18 commits into
knative:master
from
mgencur:migrate_upgrade_tests
Jan 5, 2021
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
80a1aff
Migrate upgrade tests to using pkg/test/upgrade framework
mgencur 0c652e1
Use umbrella functions for individual groups of tests
mgencur b08399a
Define curPods and targetPods constants in upgrade tests
mgencur 27f5b04
Fix imports and licences
mgencur 63a05db
Fix lint - comments on new exported functions
mgencur 272a420
Split AssertAutoscaleUpToNumPods into setup and wait parts
mgencur 9ef05fc
Pass errgroup by reference
mgencur 150bac8
Fix lint error
mgencur 75acab5
Move logf into TestContext
mgencur d0d348a
Remaining fixes for moving logf to TestContext
mgencur 7dc161c
Call logf on context directly
mgencur 35ce9f4
Update readme
mgencur 7b60231
Remove the comment and fix imports
mgencur 6029f1c
Update modules after running update-codegen
mgencur 0449e67
Do not upgrade Ingress when upgrading Knative
mgencur a7ed4fc
Pass around func() error instead of errGroup
mgencur 1ff2fbe
Mark a few functions as t.Helper()
mgencur 429b845
Fix codegen
mgencur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Let's please do changes like these separately. they unnecessarily bloat the diff and have nothing to do with the intended change as far as I can tell?
I believe this applies to most of the bash changes?
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.
If this is required for the shell shenanigans, let's still break the bash changes out to break this up a little.
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.
This is required so that we can call e2e-common.sh from Golang. Without that the file cannot be found. I don't think this can be sent separately.
Uh oh!
There was an error while loading. Please reload this page.
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.
This can be sent separately, but that has only little sense. As, apart from this use case previous code works, so without changes in here it's hard to justify changing that. Maybe say it's required for this PR, or it may error if sourced from a different place than
test/directory.