-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
e2e: ExitCleanly(): a few more #20089
e2e: ExitCleanly(): a few more #20089
Conversation
Expect(session.ErrorToString()).To(ContainSubstring("The storage 'driver' option should be set in ")) | ||
Expect(session.ErrorToString()).To(ContainSubstring("A driver was picked automatically.")) |
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.
Do we want to keep this check, or would it make sense to write a driver into that storage.conf
file?
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.
I'd keep for the sake of this PR, but if it should move, adding an issue to GitHub would make sense to me.
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.
I'd also keep it for now.
92a676b
to
30174d4
Compare
The changes LGTM in general. I'm just slightly concerned that this over-quiets things. It would be good, I think, to keep some percentage as non-quiet to make sure we're exercising that code path at least. However, I'm fine not changing this PR for this, and if needed, doing in a follow-up. |
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.
LGTM
Commit 1 of 2: automated string replace Exit(0) -> ExitCleanly() Signed-off-by: Ed Santiago <[email protected]>
Commit 2 of 2: steps to make tests work under ExitCleanly() Mostly adding "-q" to push/pull, but also: - revert ExitCleanly(), and add error-message checks if absent; - fix a test that was completely nonfunctional from Day One: test was getting skipped because registry couldn't start, because of missing ":z"s in mount option. Fixed, and removed the bypass; - use built-in skopeo, not pulled-container skopeo. Skopeo is already a requirement for system tests. Signed-off-by: Ed Santiago <[email protected]>
30174d4
to
4916f7d
Compare
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.
/lgtm
/hold
@TomSweeneyRedHat can you suggest a better approach? To my mind this PR adds testing for progress messages in |
@edsantiago I, too, like the approach. My concern was that all of the |
Added, right? I've made sure that |
@edsantiago badly worded, trying to do too many things at once. I'm fine with the -q being added. I would like to leave at least a few commands of each type that have the -q option, not use it in the tests so that we get code coverage for both the -q and no -q paths. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago, Luap99, vrothberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
A few more files. Changes in Commit Two are a bit heavier than usual.