Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
New controller tests - deletion resources (#2596)
Browse files Browse the repository at this point in the history
* New controller tests (#2580)

* Fix fmt issues

* Add missing comments, add missing gitignore rule
  • Loading branch information
piotrmiskiewicz authored and k8s-ci-robot committed Jun 25, 2019
1 parent 48e6805 commit 6d7cea6
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 69 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ contrib/examples/consumer/Gopkg.lock
contrib/examples/consumer
contrib/examples/vendor/*
integration.test*
controller.test*
debug.test*
.cache
/api_violations.txt
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,15 @@ test-update-goldenfiles: .init

build-integration: .generate_files
$(DOCKER_CMD) go test -race github.com/kubernetes-sigs/service-catalog/test/integration/... -c
$(DOCKER_CMD) go test --tags="integration" -race github.com/kubernetes-sigs/service-catalog/pkg/controller/... -c

test-integration: .init $(scBuildImageTarget) build build-integration
# test kubectl
contrib/hack/setup-kubectl.sh
contrib/hack/test-apiserver.sh
# golang integration tests
# # golang integration tests
$(DOCKER_CMD) ./integration.test -test.v $(INT_TEST_FLAGS)
$(DOCKER_CMD) ./controller.test

clean-e2e: .init $(scBuildImageTarget)
$(DOCKER_CMD) rm -f $(BINDIR)/e2e.test
Expand Down
Loading

0 comments on commit 6d7cea6

Please sign in to comment.