Skip to content

Commit 5a4a51d

Browse files
committed
Update test runner output
1 parent fcb13f3 commit 5a4a51d

File tree

3 files changed

+340
-100
lines changed

3 files changed

+340
-100
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ default: help
5252
build: fmtcheck ## Build the provider
5353
go install
5454

55-
test: acceptance ## Run all acceptance tests
55+
test: testcontainers-matrix ## Run all acceptance tests
56+
test-sequential: acceptance
5657

5758
# Run testcontainers tests with a matrix of all database versions
5859
# Usage: make testcontainers-matrix TESTARGS="TestAccUser"
5960
testcontainers-matrix: fmtcheck bin/terraform ## Run test matrix across all database versions
60-
@cd $(CURDIR) && PATH="$(CURDIR)/bin:${PATH}" go run scripts/test-runner.go $(if $(TESTARGS),$(TESTARGS),WithTestcontainers)
61+
@cd $(CURDIR) && PATH="$(CURDIR)/bin:${PATH}" PARALLEL=4 GOTOOLCHAIN=auto TF_ACC=1 go run scripts/test-runner.go $(if $(TESTARGS),$(TESTARGS),WithTestcontainers)
6162

6263
# Run testcontainers tests for a specific database image
6364
# Usage: make testcontainers-image DOCKER_IMAGE=mysql:8.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ require (
1010
github.com/hashicorp/go-version v1.7.0
1111
github.com/hashicorp/terraform-plugin-log v0.9.0
1212
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0
13+
github.com/olekukonko/tablewriter v1.1.1
1314
github.com/testcontainers/testcontainers-go v0.40.0
1415
github.com/testcontainers/testcontainers-go/modules/mysql v0.40.0
1516
github.com/tidwall/gjson v1.17.1
@@ -102,7 +103,6 @@ require (
102103
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect
103104
github.com/olekukonko/errors v1.1.0 // indirect
104105
github.com/olekukonko/ll v0.1.2 // indirect
105-
github.com/olekukonko/tablewriter v1.1.1 // indirect
106106
github.com/opencontainers/go-digest v1.0.0 // indirect
107107
github.com/opencontainers/image-spec v1.1.1 // indirect
108108
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect

0 commit comments

Comments
 (0)