Back to Mongo

README

jstests/suites/README.md

3.6.17-windows-splunk-v34.1 KB
Original Source

Resmoke suite test targets

Bazel test targets for resmoke suites.

For documentation of the resmoke_suite_test rule, see bazel/resmoke/README.md.

Configuring

In addition to attributes for resmoke_suite_test, the following are options for configuring test targets.

AttributePurposeExample
rescoures:cpu:N tagAllocate multiple CPUs for the test. By default, all tests get 1 CPU.tags = ["resources:cpu:2"],
ci- tagsConfigure priority of the task in CI.
Setting one of these enables the test to run in CI. See task_selection_tags.md for the semantics of each.

One of ci-default ci-release-critical ci-development-critical ci-development-critical-single-variant | tags = ["ci-default"] | | target_compatible_with | Configure platforms/build options that the test is compatible with. Use this to exclude the test suite from platforms in CI. | Exclude the test on PPC/S390x, MacOS, and TSAN builds:<pre><code>target_compatible_with = select({ "@platforms//cpu:ppc": ["@platforms//:incompatible"], "@platforms//cpu:s390x": ["@platforms//:incompatible"], "@platforms//os:macos": ["@platforms//:incompatible"], "//bazel/config:tsan_enabled": ["@platforms//:incompatible"], "//conditions:default": [], }) |