-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
integ-cli: fix test requiring scratch #11196
integ-cli: fix test requiring scratch #11196
Conversation
just wondering, does using 'busybox' instead work? |
Yeah, |
@ahmetalpbalkan can you please fix this test? But not for the reason you state :-) Then once the test fails, for the right reason, and on all platforms not just windows, we can then s/scratch/busybox/. |
@duglin @cpuguy83 in this case busybox is not the solution, because you can I will add the |
@ahmetalpbalkan there is an image called |
Oh, maybe I didn't understand the test, I see the comment just above the func declaration in the full view now :) |
TestRunCidFileCleanupIfEmpty fails on windows/mac because the test runs the command `docker run scratch` and it gives the following error: Unable to find image 'scratch:latest' locally Pulling repository scratch 511136ea3c5a: Download complete FATA[0004] 'scratch' is a reserved name I am not entirely sure if this is a test issue or not but I had a quick workaround by creating another image using `FROM scratch` and using that. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
fixed with emptyfs and err message check @tiborvass @cpuguy83 |
LGTM |
much better. LGTM |
LGTM |
…leanupIfEmpty-fix integ-cli: fix test requiring scratch
TestRunCidFileCleanupIfEmpty fails on windows/mac because the test runs
the command
docker run scratch
and it gives the following error:I am not entirely sure if this is a test issue or not but I had a quick
workaround by creating another image using
FROM scratch
and using that.Signed-off-by: Ahmet Alp Balkan ahmetalpbalkan@gmail.com
cc: @LK4D4 @duglin @cpuguy83