Set test size of //tests:test Bazel test

Without this:

    INFO: Analyzed 33 targets (1 packages loaded, 12 targets configured).
    INFO: Found 32 targets and 1 test target...
    INFO: Elapsed time: 0.905s, Critical Path: 0.66s
    INFO: 3 processes: 3 linux-sandbox.
    INFO: Build completed successfully, 3 total actions
    //tests:test                                                             PASSED in 0.1s
      WARNING: //tests:test: Test execution time (0.1s excluding execution overhead) outside of range for MODERATE tests. Consider setting timeout="short" or size="small".
This commit is contained in:
David Tolnay 2020-09-24 08:49:03 -04:00
parent 9ec5ca4d68
commit e4d30f2257
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2,6 +2,7 @@ load("//tools/bazel:rust.bzl", "rust_library", "rust_test")
rust_test(
name = "test",
size = "small",
srcs = ["test.rs"],
deps = [":cxx_test_suite"],
)