Skip to content

Commit 8d1583d

Browse files
committed
chore: fixed parallelism with essentials tests and re-enabled them for testing
1 parent 9a77468 commit 8d1583d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/terraform_provider_pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ jobs:
149149

150150

151151
go_test_smoke_essentials_db:
152-
if: false # Temporarily disabled - waiting on client fixes
153152
name: go test smoke essentials db
154153
needs: go_test_smoke_essentials_sub
155154
runs-on: ubuntu-latest

GNUmakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ clean:
3636
testacc: bin
3737
TF_ACC=1 go test ./... -v $(TESTARGS) -timeout 360m -p=1 -parallel=$(TEST_PARALLELISM) -coverprofile bin/coverage.out
3838

39+
# Essentials tests must run serially due to API limitation of one essentials db per account
40+
testacc-essentials: bin
41+
TF_ACC=1 go test ./provider -v -run="TestAccResourceRedisCloudEssentials|TestAccDataSourceRedisCloudEssentials" -timeout 360m -p=1 -parallel=1 -coverprofile bin/coverage.out
42+
3943
generate_coverage:
4044
go tool cover -html=bin/coverage.out -o bin/coverage.html
4145

0 commit comments

Comments
 (0)