From 0ddd036cd3bee4c0bea215985d1ed93f567e2226 Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Fri, 20 Jan 2017 11:05:01 -0800 Subject: [PATCH] Add .bazelrc with flaky_test_attempts. --- .bazelrc | 6 ++++++ Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .bazelrc diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 00000000000..0ceb744e255 --- /dev/null +++ b/.bazelrc @@ -0,0 +1,6 @@ +# Show us information about failures. +build --verbose_failures +test --test_output=errors + +# Retry tests up to 3 times if they fail. +test --flaky_test_attempts=3 diff --git a/Makefile b/Makefile index 9d29ee801e3..36ff991e567 100644 --- a/Makefile +++ b/Makefile @@ -498,7 +498,7 @@ endef @echo "$$BAZEL_TEST_HELP_INFO" else bazel-test: - bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all + bazel test //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all endif ifeq ($(PRINT_HELP),y)