summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-07-07 07:00:34 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-07-07 07:01:15 -0700
commit427d8f5756e908d8573e45b8e8c328394f038c36 (patch)
tree68a7e61a9181f26753751a821e79c73504274c71
parent97ab3dcfd6490434202e4ab00b2eaba9449e42a1 (diff)
Make exponential_distribution_test a bigger test (timeout small -> moderate).
This test indicates it has a 90% chance of timing out at its current 60 second limit. Stats over 1000 runs: max = 102.5s, min = 40.4s, avg = 71.1s, dev = 11.2s Note that if you run this test locally from a workstation without flags, it'll take maybe 3 to 5 seconds. However, the test is run with config of android_arm, which seems to drastically change the execution time. PiperOrigin-RevId: 459503103 Change-Id: I7b7aaa2db7880370f47d1a83d295a3234f738a18
-rw-r--r--absl/random/BUILD.bazel1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/random/BUILD.bazel b/absl/random/BUILD.bazel
index 08ecd197..ff20dd05 100644
--- a/absl/random/BUILD.bazel
+++ b/absl/random/BUILD.bazel
@@ -306,6 +306,7 @@ cc_test(
cc_test(
name = "exponential_distribution_test",
size = "small",
+ timeout = "moderate",
srcs = ["exponential_distribution_test.cc"],
copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,