Skip to content

Commit

Permalink
Merge pull request #44340 from thaJeztah/20.10_backport_skip_tests
Browse files Browse the repository at this point in the history
[20.10 backport] skip TestImagePullStoredfDigestForOtherRepo() on Windows and rootless
  • Loading branch information
thaJeztah committed Oct 21, 2022
2 parents 93c2c3b + 9c84417 commit e3fef9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration/image/pull_test.go
Expand Up @@ -118,6 +118,9 @@ func createTestImage(ctx context.Context, t testing.TB, store content.Store) ima
// Make sure that pulling by an already cached digest but for a different ref (that should not have that digest)
// verifies with the remote that the digest exists in that repo.
func TestImagePullStoredfDigestForOtherRepo(t *testing.T) {
skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
skip.If(t, testEnv.OSType == "windows", "We don't run a test registry on Windows")
skip.If(t, testEnv.IsRootless, "Rootless has a different view of localhost (needed for test registry access)")
defer setupTest(t)()

reg := registry.NewV2(t, registry.WithStdout(os.Stdout), registry.WithStderr(os.Stderr))
Expand Down

0 comments on commit e3fef9a

Please sign in to comment.