From 3c068c067e5e182ddc7ae16d52def39d819bb509 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Fri, 10 Nov 2023 02:14:31 +0000 Subject: [PATCH] test(e2e): fix a false positive test for `blob get` Signed-off-by: Billy Zha --- test/e2e/suite/command/blob.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/suite/command/blob.go b/test/e2e/suite/command/blob.go index 249eec99a..770a0a78c 100644 --- a/test/e2e/suite/command/blob.go +++ b/test/e2e/suite/command/blob.go @@ -110,8 +110,8 @@ var _ = Describe("ORAS beginners:", func() { ExpectFailure().Exec() }) - It("should fail if provided digest doesn't existed", func() { - ORAS("blob", "fetch", RegistryRef(ZOTHost, ImageRepo, "sha256:2aaa2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a")). + It("should fail if provided digest doesn't exist", func() { + ORAS("blob", "fetch", RegistryRef(ZOTHost, ImageRepo, "sha256:2aaa2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a"), "-o", "/dev/null"). ExpectFailure().Exec() })