You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- FAIL: TestCheckoutGit (0.04s)
gitutils_test.go:201: Expected FROM scratch
EXPOSE 5000, was FROM scratch
EXPOSE 5000
FAIL
Describe the results you expected:
It should not fail.
Additional information you deem important (e.g. issue happens only occasionally)
Found in PR hack/make/test-unit: support coverprofile #22930, which is an attempt to simplify go test in hack/*. The PR uses env -i for test-unit as well as for test-integration, so it disables some git-related environment variable.
Steps to reproduce the issue:
Tested with 4a7715c
Describe the results you received:
failure message:
Describe the results you expected:
It should not fail.
Additional information you deem important (e.g. issue happens only occasionally)
env -ifortest-unitas well as fortest-integration, so it disables some git-related environment variable.eolis not properly set : https://github.com/docker/docker/blob/4a7715c9783627ecc194dac8502a684f40a9d0bd/pkg/gitutils/gitutils_test.go#L80