Skip to content

Commit

Permalink
Merge pull request #1570 from camilamacedo86/race-scaff
Browse files Browse the repository at this point in the history
feat: improve go test for the scaffolded projects due checking race conditionals (v3 only)
  • Loading branch information
k8s-ci-robot authored Jun 29, 2020
2 parents 0baddc4 + 9ab0d5a commit 4ce0148
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/v3/scaffolds/internal/templates/makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ all: manager
# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...
# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-addon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-multigroup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down

0 comments on commit 4ce0148

Please sign in to comment.