Merge pull request #45243 from mikedanese/skip-integration

Automatic merge from submit-queue (batch tested with PRs 45120, 45243)

skip integration test when run make bazel-test

we should opt for a seperate target for integration tests. This is breaking @deads2k who is trying to add an integration test in staging.
This commit is contained in:
Kubernetes Submit Queue 2017-05-02 16:05:49 -07:00 committed by GitHub
commit 36590b0621
2 changed files with 5 additions and 2 deletions

View File

@ -517,7 +517,7 @@ bazel-test:
@echo "$$BAZEL_TEST_HELP_INFO"
else
bazel-test:
bazel test --flaky_test_attempts=3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all //vendor/k8s.io/...
bazel test --test_tag_filters=-integration --flaky_test_attempts=3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all //vendor/k8s.io/...
endif
ifeq ($(PRINT_HELP),y)

View File

@ -13,7 +13,10 @@ go_test(
"api_test.go",
"crud_test.go",
],
tags = ["automanaged"],
tags = [
"automanaged",
"integration",
],
deps = [
"//federation/apis/federation/v1beta1:go_default_library",
"//federation/pkg/federatedtypes:go_default_library",