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 98d9f6a commit 0c2e0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suite/command/manifest_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ var _ = Describe("1.1 registry users:", func() {
})
It("should fail if a wrong reference is given as the manifest to add", func() {
// create an index for testing purpose
ORAS("manifest", "index", "create", RegistryRef(ZOTHost, ImageRepo, "update-add"),
ORAS("manifest", "index", "create", RegistryRef(ZOTHost, ImageRepo, "update-wrong-tag"),
string(multi_arch.LinuxAMD64.Digest), string(multi_arch.LinuxARM64.Digest)).Exec()
// add a manifest to the index
ORAS("manifest", "index", "update", RegistryRef(ZOTHost, ImageRepo, "update-add"),
ORAS("manifest", "index", "update", RegistryRef(ZOTHost, ImageRepo, "update-wrong-tag"),
"--add", "does-not-exist").ExpectFailure().
MatchErrKeyWords("Error:", "could not resolve", "does-not-exist").Exec()
})
Expand Down

0 comments on commit 0c2e0bc

Please sign in to comment.