From 5e8387f438ecec742fd60834e580331b2ac70475 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Wed, 27 Dec 2023 08:34:18 +0800 Subject: [PATCH] update Signed-off-by: Patrick Zheng --- test/e2e/suite/plugin/install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/suite/plugin/install.go b/test/e2e/suite/plugin/install.go index 4918b35e6..33b2a3511 100644 --- a/test/e2e/suite/plugin/install.go +++ b/test/e2e/suite/plugin/install.go @@ -60,14 +60,14 @@ var _ = Describe("notation plugin install", func() { }) }) - It("with content inside zip archive is too large", func() { + It("with content inside zip archive exceeds 256 MiB size limit", func() { Host(nil, func(notation *utils.ExecOpts, _ *Artifact, vhost *utils.VirtualHost) { notation.ExpectFailure().Exec("plugin", "install", "--file", NotationE2EMaliciousPluginArchivePath+"/largeFileZip.zip", "-v"). MatchErrContent("Error: plugin installation failed: file reached the 256 MiB size limit\n") }) }) - It("with content inside tar.gz archive is too large", func() { + It("with content inside tar.gz archive exceeds 256 MiB size limit", func() { Host(nil, func(notation *utils.ExecOpts, _ *Artifact, vhost *utils.VirtualHost) { notation.ExpectFailure().Exec("plugin", "install", "--file", NotationE2EMaliciousPluginArchivePath+"/largeFileTarGzip.tar.gz", "-v"). MatchErrContent("Error: plugin installation failed: file reached the 256 MiB size limit\n")