Skip to content

Commit e4d4543

Browse files
committed
adding back parrallel fixing lint test
1 parent 5d2065b commit e4d4543

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/test/e2e/12_lint_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func TestLint(t *testing.T) {
2828
configPath := filepath.Join(testPackagePath, "zarf-config.toml")
2929
os.Setenv("ZARF_CONFIG", configPath)
3030
_, stderr, err := e2e.Zarf("dev", "lint", testPackagePath, "-f", "good-flavor")
31+
os.Unsetenv("ZARF_CONFIG")
3132
require.Error(t, err, "Require an exit code since there was warnings / errors")
3233
strippedStderr := e2e.StripMessageFormatting(stderr)
3334

src/test/e2e/13_find_images_test.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func TestFindImages(t *testing.T) {
1313
t.Log("E2E: Find Images")
1414

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

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

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

4446
t.Run("zarf dev find-images with helm or manifest vars", func(t *testing.T) {
45-
47+
t.Parallel()
4648
registry := "coolregistry.gov"
4749
agentTag := "test"
4850

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

6264
t.Run("zarf test find images --why w/ helm chart success", func(t *testing.T) {
63-
65+
t.Parallel()
6466
testPackagePath := filepath.Join("examples", "wordpress")
6567
sets := []string{"WORDPRESS_USERNAME=zarf", "WORDPRESS_PASSWORD=fake", "[email protected]", "WORDPRESS_FIRST_NAME=zarf", "WORDPRESS_LAST_NAME=zarf", "WORDPRESS_BLOG_NAME=blog"}
6668
deploysSet := strings.Join(sets, ",")
@@ -72,7 +74,7 @@ func TestFindImages(t *testing.T) {
7274
})
7375

7476
t.Run("zarf test find images --why w/ manifests success", func(t *testing.T) {
75-
77+
t.Parallel()
7678
testPackagePath := filepath.Join("examples", "manifests")
7779

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

0 commit comments

Comments
 (0)