Skip to content

Commit

Permalink
trying to fix
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
  • Loading branch information
Xiaoxuan Wang committed Aug 13, 2024
1 parent 02e263d commit 146743a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/suite/command/manifest_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ var _ = Describe("1.1 registry users:", func() {
ORAS("manifest", "fetch", RegistryRef(ZOTHost, ImageRepo, "tag3")).Exec()
})

// It("should ignore digests given as index reference", func() {
// ORAS("manifest", "index", "create", fmt.Sprintf("%s,another-tag,sha256:bfa1728d6292d5fa7689f8f4daa145ee6f067b5779528c6e059d1132745ef508",
// RegistryRef(ZOTHost, ImageRepo, "digest-test")),
// string(multi_arch.LinuxAMD64.Digest), string(multi_arch.LinuxARM64.Digest)).Exec()
// })
It("should ignore digests given as index reference", func() {
ORAS("manifest", "index", "create", fmt.Sprintf("%s,another-tag,sha256:bfa1728d6292d5fa7689f8f4daa145ee6f067b5779528c6e059d1132745ef508",
RegistryRef(ZOTHost, ImageRepo, "digest-test")),
string(multi_arch.LinuxAMD64.Digest), string(multi_arch.LinuxARM64.Digest)).Exec()
})

It("should fail if given a reference that does not exist in the repo", func() {
ORAS("manifest", "index", "create", RegistryRef(ZOTHost, ImageRepo, ""),
Expand Down

0 comments on commit 146743a

Please sign in to comment.