SERVER-120026 Add bazel targets for release-critical, query-optimization resmoke suites (#48659)
GitOrigin-RevId: 94f0e1facd2b13f1655a77ac07d1a134a3ab1511
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
test_kind: js_test
|
||||
|
||||
selector:
|
||||
roots:
|
||||
- jstests/aggregation/**/*.js
|
||||
exclude_files:
|
||||
- jstests/aggregation/extras/*.js
|
||||
- jstests/aggregation/data/*.js
|
||||
exclude_with_any_tags:
|
||||
- requires_pipeline_optimization
|
||||
from_target: //jstests/suites/query-optimization:aggregation_disabled_optimization
|
||||
|
||||
executor:
|
||||
archive:
|
||||
|
||||
@@ -2185,6 +2185,7 @@ tasks:
|
||||
"incompatible_mac",
|
||||
"aggregation",
|
||||
"common",
|
||||
"has_bazel_target",
|
||||
]
|
||||
commands:
|
||||
- func: "do setup"
|
||||
|
||||
29
jstests/suites/query-optimization/BUILD.bazel
Normal file
29
jstests/suites/query-optimization/BUILD.bazel
Normal file
@@ -0,0 +1,29 @@
|
||||
load("//bazel/resmoke:resmoke.bzl", "resmoke_suite_test")
|
||||
|
||||
resmoke_suite_test(
|
||||
name = "aggregation_disabled_optimization",
|
||||
srcs = ["//jstests/aggregation:all_subpackage_javascript_files"],
|
||||
config = "//buildscripts/resmokeconfig:suites/aggregation_disabled_optimization.yml",
|
||||
data = [
|
||||
"//jstests/with_mongot/e2e_lib",
|
||||
],
|
||||
exclude_files = [
|
||||
"//jstests/aggregation/data:all_javascript_files",
|
||||
"//jstests/aggregation/extras:all_javascript_files",
|
||||
],
|
||||
exclude_with_any_tags = ["requires_pipeline_optimization"],
|
||||
shard_count = 4,
|
||||
tags = [
|
||||
"aggregation",
|
||||
"ci-release-critical",
|
||||
"common",
|
||||
],
|
||||
target_compatible_with = select({
|
||||
"@platforms//os:macos": ["@platforms//:incompatible"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
"//src/mongo/db:mongod",
|
||||
"//src/mongo/shell:mongo",
|
||||
],
|
||||
)
|
||||
5
jstests/suites/query-optimization/OWNERS.yml
Normal file
5
jstests/suites/query-optimization/OWNERS.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
version: 2.0.0
|
||||
filters:
|
||||
- "*":
|
||||
approvers:
|
||||
- 10gen/query-optimization
|
||||
@@ -2,6 +2,11 @@ load("//bazel:mongo_js_rules.bzl", "all_subpackage_javascript_files", "mongo_js_
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
mongo_js_library(
|
||||
name = "common_utils",
|
||||
srcs = ["common_utils.js"],
|
||||
)
|
||||
|
||||
mongo_js_library(
|
||||
name = "all_javascript_files",
|
||||
srcs = glob([
|
||||
|
||||
@@ -2,6 +2,17 @@ load("//bazel:mongo_js_rules.bzl", "all_subpackage_javascript_files", "mongo_js_
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
mongo_js_library(
|
||||
name = "e2e_lib",
|
||||
srcs = glob([
|
||||
"*.js",
|
||||
]),
|
||||
deps = [
|
||||
"//jstests/with_mongot:common_utils",
|
||||
"//jstests/with_mongot/e2e_lib/data:all_javascript_files",
|
||||
],
|
||||
)
|
||||
|
||||
mongo_js_library(
|
||||
name = "all_javascript_files",
|
||||
srcs = glob([
|
||||
|
||||
Reference in New Issue
Block a user