Skip to content

Commit

Permalink
ignoring integration package in unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-kun committed Apr 26, 2022
1 parent 9840acc commit 80b833a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/for-go-proj.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ for project_name in ${PROJECT_NAMES[*]}; do
case "${CMD}" in
"test")
if [[ -n $(find . -name "Godeps.json") ]]; then
godep go test -race $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e)
godep go test -race $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e | grep -v cluster-autoscaler/integration)
else
go test -race $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e)
go test -race $(go list ./... | grep -v /vendor/ | grep -v vertical-pod-autoscaler/e2e | grep -v cluster-autoscaler/integration)
fi
;;
*)
Expand Down

0 comments on commit 80b833a

Please sign in to comment.