mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
skip integration test when run make bazel-test
we should opt for a seperate target for integration tests.
This commit is contained in:
parent
72a469f3ac
commit
01b736c4d9
2
Makefile
2
Makefile
@ -517,7 +517,7 @@ bazel-test:
|
|||||||
@echo "$$BAZEL_TEST_HELP_INFO"
|
@echo "$$BAZEL_TEST_HELP_INFO"
|
||||||
else
|
else
|
||||||
bazel-test:
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(PRINT_HELP),y)
|
ifeq ($(PRINT_HELP),y)
|
||||||
|
@ -13,7 +13,10 @@ go_test(
|
|||||||
"api_test.go",
|
"api_test.go",
|
||||||
"crud_test.go",
|
"crud_test.go",
|
||||||
],
|
],
|
||||||
tags = ["automanaged"],
|
tags = [
|
||||||
|
"automanaged",
|
||||||
|
"integration",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//federation/apis/federation/v1beta1:go_default_library",
|
"//federation/apis/federation/v1beta1:go_default_library",
|
||||||
"//federation/pkg/federatedtypes:go_default_library",
|
"//federation/pkg/federatedtypes:go_default_library",
|
||||||
|
Loading…
Reference in New Issue
Block a user