Skip to content

Commit

Permalink
adding back parrallel fixing lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Mar 7, 2024
1 parent 5d2065b commit e4d4543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/test/e2e/12_lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func TestLint(t *testing.T) {
configPath := filepath.Join(testPackagePath, "zarf-config.toml")
os.Setenv("ZARF_CONFIG", configPath)
_, stderr, err := e2e.Zarf("dev", "lint", testPackagePath, "-f", "good-flavor")
os.Unsetenv("ZARF_CONFIG")
require.Error(t, err, "Require an exit code since there was warnings / errors")
strippedStderr := e2e.StripMessageFormatting(stderr)

Expand Down
8 changes: 5 additions & 3 deletions src/test/e2e/13_find_images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func TestFindImages(t *testing.T) {
t.Log("E2E: Find Images")

t.Run("zarf prepare find-images", func(t *testing.T) {
t.Parallel()
// Test `zarf prepare find-images` for a remote asset
stdOut, stdErr, err := e2e.Zarf("prepare", "find-images", "examples/helm-charts")
require.NoError(t, err, stdOut, stdErr)
Expand All @@ -24,6 +25,7 @@ func TestFindImages(t *testing.T) {
})

t.Run("zarf prepare find-images --kube-version", func(t *testing.T) {
t.Parallel()
controllerImageWithTag := "quay.io/jetstack/cert-manager-controller:v1.11.1"
controlImageWithSignature := "quay.io/jetstack/cert-manager-controller:sha256-4f1782c8316f34aae6b9ab823c3e6b7e6e4d92ec5dac21de6a17c3da44c364f1.sig"

Expand All @@ -42,7 +44,7 @@ func TestFindImages(t *testing.T) {
})

t.Run("zarf dev find-images with helm or manifest vars", func(t *testing.T) {

t.Parallel()
registry := "coolregistry.gov"
agentTag := "test"

Expand All @@ -60,7 +62,7 @@ func TestFindImages(t *testing.T) {
})

t.Run("zarf test find images --why w/ helm chart success", func(t *testing.T) {

t.Parallel()
testPackagePath := filepath.Join("examples", "wordpress")
sets := []string{"WORDPRESS_USERNAME=zarf", "WORDPRESS_PASSWORD=fake", "WORDPRESS_EMAIL=hello@defenseunicorns.com", "WORDPRESS_FIRST_NAME=zarf", "WORDPRESS_LAST_NAME=zarf", "WORDPRESS_BLOG_NAME=blog"}
deploysSet := strings.Join(sets, ",")
Expand All @@ -72,7 +74,7 @@ func TestFindImages(t *testing.T) {
})

t.Run("zarf test find images --why w/ manifests success", func(t *testing.T) {

t.Parallel()
testPackagePath := filepath.Join("examples", "manifests")

stdOut, _, err := e2e.Zarf("dev", "find-images", testPackagePath, "--why", "httpd:alpine3.18")
Expand Down

0 comments on commit e4d4543

Please sign in to comment.