-
Notifications
You must be signed in to change notification settings - Fork 606
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
CI/test fixing #3402
CI/test fixing #3402
Conversation
} | ||
|
||
tearDown := func() { | ||
base.Cmd("rmi", "-f", img).AssertOK() |
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.
Make sure we cleanup the image once done.
fb, err := os.ReadFile(output) | ||
assert.NilError(t, err) | ||
|
||
assert.Assert(t, strings.Contains(string(fb), fmt.Sprintf("Loaded image: %s:latest", img))) | ||
base.Cmd("images").AssertOutContains(testutil.ImageRepo(testutil.CommonImage)) |
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 do not understand what that was supposed to test.
It makes much more sense to me that we testing the fact the loaded image (with custom tag) is there, instead of testing what we know is there already...
Am I missing something here?
54e7c31
to
64b4f6e
Compare
CI failures are:
|
Thanks, but commit messages should explain what failure was fixed |
…ng prune Signed-off-by: apostasie <spam_blackhole@farcloser.world>
64b4f6e
to
9e975ae
Compare
…ootless Signed-off-by: apostasie <spam_blackhole@farcloser.world>
9e975ae
to
935ee8a
Compare
Fair enough. |
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
Tiny commits enhancing our test situation - making sure we do cleanup resources once done, to avoid polluting other tests expecting a clean slate.
Fix #3403
@AkihiroSuda can we get this in? (see question inline though)