String "short", "moderate", "long", "eternal"
(with the default derived from the test's size attribute)
How long the test is expected to run before returning.
While a test's size attribute controls resource estimation, a test's
timeout may be set independently. If not explicitly specified, the
timeout is based on the test's size. The test
timeout can be overridden with the --test_timeout
flag, e.g. for
running under certain conditions which are known to be slow. Test timeout values
correspond to the following time periods:
Timeout Value | Time Period |
---|---|
short | 1 minute |
moderate | 5 minutes |
long | 15 minutes |
eternal | 60 minutes |
--test_timeout
bazel flag, e.g. for manually running under
conditions which are known to be slow. The --test_timeout
values
are in seconds. For example --test_timeout=120
will set the test
timeout to two minutes.