mirror of https://github.com/k3s-io/k3s
skip integration test when run make bazel-test
we should opt for a seperate target for integration tests.pull/6/head
parent
72a469f3ac
commit
01b736c4d9
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue