String "enormous", "large" "medium" or "small",
default is "medium"; optional
How "heavy" the test is.
A classification of the test's "heaviness": how much time/resources it needs to run.
Unittests are considered "small", integration tests "medium", and end-to-end tests "large" or
"enormous". Bazel uses the size to determine a default timeout (which can be overridden using the
timeout
attribute) and the amount of resources that have to be acquired for the test to
run. Test sizes correspond to the following resources and default timeouts:
Size | RAM (in MB) | CPU (in CPU cores) | I/O (fraction) | Default timeout |
---|---|---|---|---|
small | 20 | 0.9 | 0 | short (1 minute) |
medium | 100 | 0.9 | 0.1 | moderate (5 minutes) |
large | 300 | 0.8 | 0.1 | long (15 minutes) |
enormous | 800 | 0.7 | 0.4 | eternal (60 minutes) |