Skip to content

Commit

Permalink
test bad image
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Dec 9, 2024
1 parent 86e2d18 commit e227a87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
10 changes: 0 additions & 10 deletions src/test/e2e/00_use_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,6 @@ func TestUseCLI(t *testing.T) {
require.Contains(t, stdErr, expectedOutString, "The log level should be changed to 'debug'")
})

t.Run("zarf package to test bad remote images", func(t *testing.T) {
_, stdErr, err := e2e.Zarf(t, "package", "create", "src/test/packages/00-remote-pull-fail", "--confirm")
// expecting zarf to have an error and output to stderr
require.Error(t, err)
// Make sure we print the get request error (only look for GET since the actual error changes based on login status)
require.Contains(t, stdErr, "failed to find the manifest on a remote: GET")
// And the docker error
require.Contains(t, stdErr, "response from daemon: No such image")
})

t.Run("zarf package to test archive path", func(t *testing.T) {
t.Parallel()
stdOut, stdErr, err := e2e.Zarf(t, "package", "create", "packages/distros/eks", "--confirm")
Expand Down
8 changes: 0 additions & 8 deletions src/test/packages/00-remote-pull-fail/zarf.yaml

This file was deleted.

0 comments on commit e227a87

Please sign in to comment.