Skip to content

Commit

Permalink
Check parallel testcase run
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Jun 8, 2024
1 parent fd43608 commit 0fcd805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ coverage: vendor
ACC_TEST_FILE_LOCATION=github.com/HewlettPackard/hpegl-vmaas-terraform-resources/internal/acceptance_test
acceptance:
@if [ "${case}" != "" ]; then \
TF_ACC=true go test -run $(case) -v -timeout=20000s -cover $(ACC_TEST_FILE_LOCATION); \
TF_ACC=true go test -parallel 4 -run $(case) -v -timeout=20000s -cover $(ACC_TEST_FILE_LOCATION); \
else \
TF_ACC=true go test -v -timeout=50000s -cover $(ACC_TEST_FILE_LOCATION) -parallel 1;\
TF_ACC=true go test -parallel 4 -v -timeout=50000s -cover $(ACC_TEST_FILE_LOCATION);\
fi

build: vendor $(NAME)
Expand Down

0 comments on commit 0fcd805

Please sign in to comment.