From 0bd116f7656e239f0012414f96430799a7d7b07c Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Wed, 1 Mar 2023 17:36:55 -0600 Subject: [PATCH] Fixup 00 cli test --- src/test/e2e/00_use_cli_test.go | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/test/e2e/00_use_cli_test.go b/src/test/e2e/00_use_cli_test.go index b57c4532a6..e71e829d33 100644 --- a/src/test/e2e/00_use_cli_test.go +++ b/src/test/e2e/00_use_cli_test.go @@ -90,19 +90,9 @@ func TestUseCLI(t *testing.T) { e2e.cleanFiles(pkgName) files, err := os.ReadDir(imageCachePath) - require.NoError(t, err, "Error when reading image cache path") + require.NoError(t, err, "Encountered an unexpected error when reading image cache path") assert.Greater(t, len(files), 1) - pkgName = fmt.Sprintf("zarf-package-git-data-%s-v1.0.0.tar.zst", e2e.arch) - - // Pull once to test git cloning - stdOut, stdErr, err = e2e.execZarfCommand("package", "create", "examples/git-data", "--confirm", "--zarf-cache", cachePath, "--tmpdir", otherTmpPath) - require.NoError(t, err, stdOut, stdErr) - - // Pull twice to test git fetching (from cache) - stdOut, stdErr, err = e2e.execZarfCommand("package", "create", "examples/git-data", "--confirm", "--zarf-cache", cachePath, "--tmpdir", otherTmpPath) - require.NoError(t, err, stdOut, stdErr) - // Test removal of cache stdOut, stdErr, err = e2e.execZarfCommand("tools", "clear-cache", "--zarf-cache", cachePath) require.NoError(t, err, stdOut, stdErr)