Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Jan 29, 2024
1 parent 5ef94fc commit 016ddbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/suite/command/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ var _ = Describe("1.1 registry users:", func() {
MatchKeyWords("Digest: " + ma.LinuxAMD64.Digest.String()).
Exec()
// validate
CompareRef(src, ma.LinuxAMD64.Digest.String())
CompareRef(src, RegistryRef(ZOTHost, dstRepo, ma.LinuxAMD64.Digest.String()))
digests := ORAS("discover", dst, "--format", "{{range .Manifests}}{{println .Digest}}{{end}}").Exec().Out.Contents()
for _, digest := range strings.Split(strings.TrimSpace(string(digests)), "\n") {
CompareRef(RegistryRef(ZOTHost, ArtifactRepo, digest), RegistryRef(ZOTHost, dstRepo, digest))
Expand Down

0 comments on commit 016ddbf

Please sign in to comment.