use test size instead of timeout

pull/21218/head
Jan Tattermusch 5 years ago
parent abdf47084a
commit 986070d280
  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,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
)

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

Loading…
Cancel
Save