-
Notifications
You must be signed in to change notification settings - Fork 621
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
Fix file URLs with digest #1219
Conversation
Ok that Windows test looks relevant, but possibly a issue with go on windows eg golang/go#51442 I'll see if I can figure out.
|
Thanks, windows test can be skipped |
eca8535
to
995326e
Compare
@@ -80,3 +82,37 @@ func TestDownloadRemote(t *testing.T) { | |||
assert.Equal(t, StatusUsedCache, r.Status) | |||
}) | |||
} | |||
|
|||
func TestDownloadLocal(t *testing.T) { |
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 runtime.GOOS == "windows" {
// FIXME: `TempDir RemoveAll cleanup: remove C:\users\runner\Temp\TestDownloadLocalwithout_digest2738386858\002\test-file: Sharing violation.`
t.Skip("Skipping on windows")
}
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.
Done. I took a quick look, on how the windows test run via wine and will try figure how to fix/workaround. Sorry for the delay on this PR my end - the end of the year became very busy for me
Fixes lima-vm#1217 Test skipped on windows for now. Signed-off-by: Pris Nasrat <pnasrat@gmail.com>
995326e
to
0e0240e
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.
Thanks
Fixes #1217
Signed-off-by: Pris Nasrat pnasrat@gmail.com