Skip to content

Commit

Permalink
skip integration test when run make bazel-test
Browse files Browse the repository at this point in the history
we should opt for a seperate target for integration tests.
  • Loading branch information
mikedanese committed May 2, 2017
1 parent 72a469f commit 01b736c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion test/integration/federation/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 01b736c

Please sign in to comment.