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. The mapping of test size to resource is currently:
size | RAM (in MB) | CPU (in CPU cores) | I/O (fraction) |
---|---|---|---|
small | 20 | 0.9 | 0 |
medium | 100 | 0.9 | 0.1 |
large | 300 | 0.8 | 0.1 |
enormous | 800 | 0.7 | 0.4 |