mongo/jstests/suites
Sean Lyons 8a1906026f SERVER-127361: Add bazel targets for replication resmoke suites (#54144)
GitOrigin-RevId: 68dce68823e78dd2c4ff3bea451d1278d750f68a
2026-05-22 14:56:40 +00:00
..
backup-restore SERVER-125807 Create a remote execution variant mirroring enterprise-amazon-linux2023-arm64-all-feature-flags (#53034) 2026-05-14 19:03:47 +00:00
catalog-and-routing SERVER-125807 Create a remote execution variant mirroring enterprise-amazon-linux2023-arm64-all-feature-flags (#53034) 2026-05-14 19:03:47 +00:00
cluster-scalability SERVER-127283: Add bazel targets for cluster-scalability resmoke suites (#54140) 2026-05-22 14:55:15 +00:00
index-builds SERVER-120031 Add bazel targets for release-critical, index-build resmoke suites (#50964) 2026-04-17 18:36:27 +00:00
programmability SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
query SERVER-125807 Create a remote execution variant mirroring enterprise-amazon-linux2023-arm64-all-feature-flags (#53034) 2026-05-14 19:03:47 +00:00
query-execution SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
query-integration-search SERVER-127113: Add bazel targets for extension resmoke suites (#54033) 2026-05-20 18:20:34 +00:00
query-integration-timeseries SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
query-optimization SERVER-127108: Add bazel targets for query-optimization resmoke suites (#54032) 2026-05-20 14:10:03 +00:00
replication SERVER-127361: Add bazel targets for replication resmoke suites (#54144) 2026-05-22 14:56:40 +00:00
routing-and-topology SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
rw-concerns SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
security SERVER-125069: Enable bazel remote execution for the ssl_linear suite (#52306) 2026-04-22 17:17:38 +00:00
storage-engine-integration SERVER-127136: Add bazel targets for read-only resmoke suites (#54048) 2026-05-20 14:08:37 +00:00
transactions SERVER-124879 Add instructions for BUILD files that have resmoke_suite_test targets (#52172) 2026-04-20 18:43:25 +00:00
workload-resilience SERVER-124515 Increase cpu count for sharding_jscore_passthrough_with_balancer suites (#52668) 2026-04-28 19:01:56 +00:00
OWNERS.yml SERVER-124481: Team Rename: DevProd Test Infrastructure (#52100) 2026-04-28 20:09:30 +00:00
README.md SERVER-124136 Format markdown via prettier: wrap lines and use width of 100 (#52231) 2026-04-21 19:20:11 +00:00

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.

tags

Arbitrary tags may also be added to group test targets for batch execution. For example, a custom tag lets you run all matching suites at once:

bazel test //jstests/suites/... --test_tag_filters=my_tag

The following tags have special meaning:

Tag Purpose Example
resources:cpu:N Allocate multiple CPUs for the test. By default, all tests get 1 CPU. tags = ["resources:cpu:2"],
ci- tags Configure 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"]
incompatible_with_bazel_remote_test Exclude the test from Bazel remote execution environments (e.g. remote CI executors). Use this when a test relies on resources or environment characteristics that are unavailable on remote executors. tags = ["incompatible_with_bazel_remote_test"], # Requires openssl, which is missing on remote executors.

target_compatible_with

Configure platforms/build options that the test is compatible with. Use this to exclude the test suite from platforms in CI.

Example — exclude the test on PPC/S390x, MacOS, and TSAN builds:

target_compatible_with = select({
    "@platforms//cpu:ppc64le": ["@platforms//:incompatible"],
    "@platforms//cpu:s390x": ["@platforms//:incompatible"],
    "@platforms//os:macos": ["@platforms//:incompatible"],
    "//bazel/config:tsan_enabled": ["@platforms//:incompatible"],
    "//conditions:default": [], # Otherwise, the test is compatible and can be run.
})