Skip to content

Commit d3e1feb

Browse files
committed
Skip on space-filled-only enterprise image
1 parent e73a3bd commit d3e1feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func longOrSkip(t *testing.T) {
7070
// getEnterpriseImageOrSkip returns the docker image used for enterprise
7171
// tests. If empty, enterprise tests are skipped.
7272
func getEnterpriseImageOrSkip(t *testing.T) string {
73-
image := os.Getenv("ENTERPRISEIMAGE")
73+
image := strings.TrimSpace(os.Getenv("ENTERPRISEIMAGE"))
7474
if image == "" {
7575
t.Skip("Skipping test because ENTERPRISEIMAGE is not set")
7676
}

0 commit comments

Comments
 (0)