Merge pull request #21218 from jtattermusch/bazel_timeout_cleanup

bazel: prefer using "size" over "timeout" for bazel tests
pull/18856/head
Jan Tattermusch 5 years ago committed by GitHub
commit 091f802554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/python/grpcio_tests/tests/reflection/BUILD.bazel
  2. 1
      test/core/end2end/fuzzers/BUILD
  3. 3
      test/core/util/grpc_fuzzer.bzl
  4. 4
      test/cpp/end2end/BUILD
  5. 2
      tools/remote_build/manual.bazelrc
  6. 2
      tools/remote_build/windows.bazelrc

@ -5,8 +5,7 @@ package(default_visibility = ["//visibility:public"])
py2and3_test(
name = "_reflection_servicer_test",
size = "small",
timeout = "moderate",
size = "medium",
srcs = ["_reflection_servicer_test.py"],
imports = ["../../"],
main = "_reflection_servicer_test.py",

@ -23,7 +23,6 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "api_fuzzer",
size = "enormous",
timeout = "eternal",
srcs = ["api_fuzzer.cc"],
corpus = "api_fuzzer_corpus",
language = "C++",

@ -14,7 +14,7 @@
load("//bazel:grpc_build_system.bzl", "grpc_cc_test")
def grpc_fuzzer(name, corpus, srcs = [], deps = [], size = "large", timeout = "long", **kwargs):
def grpc_fuzzer(name, corpus, srcs = [], deps = [], size = "large", **kwargs):
grpc_cc_test(
name = name,
srcs = srcs,
@ -24,7 +24,6 @@ def grpc_fuzzer(name, corpus, srcs = [], deps = [], size = "large", timeout = "l
"gtest",
],
size = size,
timeout = timeout,
args = ["--directory=" + native.package_name() + "/" + corpus],
**kwargs
)

@ -496,7 +496,7 @@ grpc_cc_test(
grpc_cc_test(
name = "xds_end2end_test",
timeout = "long",
size = "large",
srcs = ["xds_end2end_test.cc"],
external_deps = [
"gtest",
@ -707,7 +707,7 @@ grpc_cc_test(
grpc_cc_test(
name = "thread_stress_test",
timeout = "long",
size = "large",
srcs = ["thread_stress_test.cc"],
external_deps = [
"gtest",

@ -29,7 +29,7 @@ build --auth_enabled=true
# Set flags for uploading to BES in order to view results in the Bazel Build
# Results UI.
build --bes_backend=grpcs://buildeventservice.googleapis.com
build --bes_timeout=60s
build --bes_timeout=600s
build --bes_results_url="https://source.cloud.google.com/results/invocations/"
build --project_id=grpc-testing

@ -47,7 +47,7 @@ test --test_env=GRPC_VERBOSITY=debug
# Set flags for uploading to BES in order to view results in the Bazel Build
# Results UI.
build --bes_backend=grpcs://buildeventservice.googleapis.com
build --bes_timeout=60s
build --bes_timeout=600s
build --bes_results_url="https://source.cloud.google.com/results/invocations/"
build --project_id=grpc-testing

Loading…
Cancel
Save