mirror of https://github.com/mongodb/mongo
SERVER-88970 Added yaml formatting to server repo
GitOrigin-RevId: 35db3811d8f749edd5b79ba910adcbc1ceb54cc4
This commit is contained in:
parent
364e04a8db
commit
b665258d9d
|
|
@ -17,13 +17,13 @@ rules:
|
||||||
no-redeclare: 0
|
no-redeclare: 0
|
||||||
no-constant-condition: 0
|
no-constant-condition: 0
|
||||||
no-loss-of-precision: 0
|
no-loss-of-precision: 0
|
||||||
no-restricted-syntax: [
|
no-restricted-syntax:
|
||||||
'error',
|
[
|
||||||
|
"error",
|
||||||
{
|
{
|
||||||
message: "Invalid load call. Please convert your library to a module and import it instead.",
|
message: "Invalid load call. Please convert your library to a module and import it instead.",
|
||||||
selector:
|
selector: 'CallExpression > Identifier[name="load"]',
|
||||||
'CallExpression > Identifier[name="load"]'
|
},
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
|
|
@ -237,4 +237,3 @@ globals:
|
||||||
helloStatePrompt: true
|
helloStatePrompt: true
|
||||||
_validateMemberIndex: true
|
_validateMemberIndex: true
|
||||||
help: true
|
help: true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,12 @@
|
||||||
*
|
*
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
# Do not ignore markdown
|
# Do not ignore markdown and yaml
|
||||||
# We are only going to do markdown file formatting for now
|
# We are only going to do markdown and yaml file formatting for now
|
||||||
# Hopefully we will use prettier for more file types in the future
|
# Hopefully we will use prettier for more file types in the future
|
||||||
!*.md
|
!*.md
|
||||||
|
!*.yml
|
||||||
|
!*.yaml
|
||||||
|
|
||||||
# Ignore all template files
|
# Ignore all template files
|
||||||
# When we eventually enable prettier on javascript these files are invalid and should be ignored
|
# When we eventually enable prettier on javascript these files are invalid and should be ignored
|
||||||
|
|
@ -17,5 +19,14 @@
|
||||||
# Ignore .yy files since prettier seems to think these are json files
|
# Ignore .yy files since prettier seems to think these are json files
|
||||||
**/*.yy
|
**/*.yy
|
||||||
|
|
||||||
|
# Ignored generated resmoke suites
|
||||||
|
buildscripts/resmokeconfig/matrix_suites/generated_suites/*.yml
|
||||||
|
|
||||||
|
# Ignore generated pnpm lock file
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
||||||
|
# Ignore version expansions that are created in evergreen
|
||||||
|
version_expansions.yml
|
||||||
|
|
||||||
# Ignore all formatting in third_party/*
|
# Ignore all formatting in third_party/*
|
||||||
src/third_party
|
src/third_party
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{
|
{
|
||||||
"tabWidth": 4,
|
|
||||||
"bracketSpacing": false
|
"bracketSpacing": false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,9 @@
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.defaultFormatter": "eeyore.yapf"
|
"editor.defaultFormatter": "eeyore.yapf"
|
||||||
},
|
},
|
||||||
|
"[starlark]": {
|
||||||
|
"editor.defaultFormatter": "BazelBuild.vscode-bazel"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
|
|
|
||||||
|
|
@ -131,21 +131,3 @@ npm_translate_lock(
|
||||||
load("@npm//:repositories.bzl", "npm_repositories")
|
load("@npm//:repositories.bzl", "npm_repositories")
|
||||||
|
|
||||||
npm_repositories()
|
npm_repositories()
|
||||||
|
|
||||||
# TODO: This comes with a lot of built in formatters
|
|
||||||
# Since we are only using prettier for now we do not use the others
|
|
||||||
# See https://github.com/aspect-build/rules_lint/releases/tag/v0.11.0 for all supported formatters
|
|
||||||
http_archive(
|
|
||||||
name = "aspect_rules_lint",
|
|
||||||
sha256 = "41fad363f11ccab46a244f93f8ccb0f442bc235e606d2fad87801987ad0759b1",
|
|
||||||
strip_prefix = "rules_lint-0.12.0",
|
|
||||||
urls = [
|
|
||||||
# Implements retry by relisting each url multiple times to be used as a failover.
|
|
||||||
# TODO(SERVER-86719): Re-implement http_archive to allow sleeping between retries
|
|
||||||
"https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
|
|
||||||
"https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
|
|
||||||
"https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
|
|
||||||
"https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
|
|
||||||
"https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
load("@aspect_rules_lint//format:defs.bzl", "multi_formatter_binary")
|
|
||||||
load("@npm//:prettier/package_json.bzl", prettier = "bin")
|
load("@npm//:prettier/package_json.bzl", prettier = "bin")
|
||||||
|
|
||||||
# TODO: SERVER-82329 eslint binary should almost exactly mirror prettier binary
|
# TODO: SERVER-82329 eslint binary should almost exactly mirror prettier binary
|
||||||
|
|
@ -12,8 +11,14 @@ prettier.prettier_binary(
|
||||||
env = {"BAZEL_BINDIR": "."},
|
env = {"BAZEL_BINDIR": "."},
|
||||||
)
|
)
|
||||||
|
|
||||||
multi_formatter_binary(
|
py_binary(
|
||||||
name = "format",
|
name = "format",
|
||||||
markdown = ":prettier",
|
srcs = ["format.py"],
|
||||||
|
args = [
|
||||||
|
"--prettier",
|
||||||
|
"$(location :prettier)",
|
||||||
|
],
|
||||||
|
data = [":prettier"],
|
||||||
|
main = "format.py",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
import argparse
|
||||||
|
import os
|
||||||
|
import pathlib
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
|
def run_prettier(prettier: pathlib.Path, check: bool) -> int:
|
||||||
|
try:
|
||||||
|
command = [prettier, "."]
|
||||||
|
if check:
|
||||||
|
command.append("--check")
|
||||||
|
else:
|
||||||
|
command.append("--write")
|
||||||
|
print(f"Running command: '{command}'")
|
||||||
|
subprocess.run(command, check=True)
|
||||||
|
except subprocess.CalledProcessError:
|
||||||
|
print("Found formatting errors. Run 'bazel run //:format' to fix")
|
||||||
|
print(
|
||||||
|
"If bazel is not installed, visit https://github.com/bazelbuild/bazelisk/blob/master/README.md#installation for installation steps."
|
||||||
|
)
|
||||||
|
return 1
|
||||||
|
|
||||||
|
if check:
|
||||||
|
print("No formatting errors")
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
def main() -> int:
|
||||||
|
# If we are running in bazel, default the directory to the workspace
|
||||||
|
default_dir = os.environ.get("BUILD_WORKSPACE_DIRECTORY")
|
||||||
|
if not default_dir:
|
||||||
|
print("This script must be run though bazel. Please run 'bazel run //:format' instead")
|
||||||
|
return 1
|
||||||
|
|
||||||
|
parser = argparse.ArgumentParser(prog='Format',
|
||||||
|
description='This script formats code in mongodb')
|
||||||
|
|
||||||
|
parser.add_argument("--check", help="Run in check mode", default=False, action="store_true")
|
||||||
|
parser.add_argument("--prettier", help="Set the path to prettier", required=True,
|
||||||
|
type=pathlib.Path)
|
||||||
|
|
||||||
|
args = parser.parse_args()
|
||||||
|
prettier_path: pathlib.Path = args.prettier.resolve()
|
||||||
|
|
||||||
|
os.chdir(default_dir)
|
||||||
|
return run_prettier(prettier_path, args.check)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
exit(main())
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3.0'
|
version: "3.0"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database1:
|
database1:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3.0'
|
version: "3.0"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
configsvr1:
|
configsvr1:
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
# options passed to IWYU
|
# options passed to IWYU
|
||||||
iwyu_options:
|
iwyu_options:
|
||||||
- '--mapping_file=etc/iwyu_mapping.imp'
|
- "--mapping_file=etc/iwyu_mapping.imp"
|
||||||
- '--no_fwd_decls'
|
- "--no_fwd_decls"
|
||||||
- '--prefix_header_includes=add'
|
- "--prefix_header_includes=add"
|
||||||
- '--transitive_includes_only'
|
- "--transitive_includes_only"
|
||||||
|
|
||||||
# options passed to the fix script
|
# options passed to the fix script
|
||||||
fix_options:
|
fix_options:
|
||||||
- '--blank_lines'
|
- "--blank_lines"
|
||||||
- '--nocomments'
|
- "--nocomments"
|
||||||
- '--noreorder'
|
- "--noreorder"
|
||||||
- '--separate_project_includes=mongo'
|
- "--separate_project_includes=mongo"
|
||||||
- '--safe_headers'
|
- "--safe_headers"
|
||||||
- '--only_re=^src/mongo\/.*'
|
- '--only_re=^src/mongo\/.*'
|
||||||
# TODO SERVER-77051 we will eventually turn this on when our codebase is cleaned up with out.
|
# TODO SERVER-77051 we will eventually turn this on when our codebase is cleaned up with out.
|
||||||
# - '--nosafe_headers'
|
# - '--nosafe_headers'
|
||||||
|
|
@ -21,17 +21,17 @@ fix_options:
|
||||||
# since this is targeting IWYU added headers
|
# since this is targeting IWYU added headers
|
||||||
no_includes:
|
no_includes:
|
||||||
# avoid boost crazyness
|
# avoid boost crazyness
|
||||||
- 'boost/.+/detail/.+'
|
- "boost/.+/detail/.+"
|
||||||
- 'asio/impl/.+'
|
- "asio/impl/.+"
|
||||||
- 'boost/.+\.ipp'
|
- 'boost/.+\.ipp'
|
||||||
# avoid stdlib detail headers
|
# avoid stdlib detail headers
|
||||||
- 'ext/alloc_traits\.h'
|
- 'ext/alloc_traits\.h'
|
||||||
- 'ext/type_traits\.h'
|
- 'ext/type_traits\.h'
|
||||||
- 'cxxabi\.h' # https://github.com/include-what-you-use/include-what-you-use/issues/909
|
- 'cxxabi\.h' # https://github.com/include-what-you-use/include-what-you-use/issues/909
|
||||||
- 'bits/.+'
|
- "bits/.+"
|
||||||
- 'syscall\.h'
|
- 'syscall\.h'
|
||||||
# arch specific
|
# arch specific
|
||||||
- 'boost/predef/hardware/simd/x86.+'
|
- "boost/predef/hardware/simd/x86.+"
|
||||||
- 'emmintrin\.h'
|
- 'emmintrin\.h'
|
||||||
# we use a third party format which confuses IWYU
|
# we use a third party format which confuses IWYU
|
||||||
- 'format\.h'
|
- 'format\.h'
|
||||||
|
|
@ -42,24 +42,24 @@ no_includes:
|
||||||
|
|
||||||
# path prefixes (non regex) to skip
|
# path prefixes (non regex) to skip
|
||||||
skip_files:
|
skip_files:
|
||||||
- 'src/third_party'
|
- "src/third_party"
|
||||||
- 'build/'
|
- "build/"
|
||||||
- 'src/mongo/tools/mongo_tidy_checks'
|
- "src/mongo/tools/mongo_tidy_checks"
|
||||||
- 'src/mongo/util/net' # causes linkage issues
|
- "src/mongo/util/net" # causes linkage issues
|
||||||
- 'src/mongo/util/text.cpp'
|
- "src/mongo/util/text.cpp"
|
||||||
# IWYU confused on forward declares
|
# IWYU confused on forward declares
|
||||||
- 'src/mongo/db/exec/near.cpp'
|
- "src/mongo/db/exec/near.cpp"
|
||||||
- 'src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp'
|
- "src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp"
|
||||||
# Asio is going to need some special treatment, the headers are very finicky
|
# Asio is going to need some special treatment, the headers are very finicky
|
||||||
- 'src/mongo/transport/asio'
|
- "src/mongo/transport/asio"
|
||||||
# causes IWYU to crash:
|
# causes IWYU to crash:
|
||||||
- 'src/mongo/db/update/update_internal_node.cpp'
|
- "src/mongo/db/update/update_internal_node.cpp"
|
||||||
- 'src/mongo/db/update/update_array_node.cpp'
|
- "src/mongo/db/update/update_array_node.cpp"
|
||||||
- 'src/mongo/db/update/update_object_node.cpp'
|
- "src/mongo/db/update/update_object_node.cpp"
|
||||||
- 'src/mongo/db/update/update_array_node_test.cpp'
|
- "src/mongo/db/update/update_array_node_test.cpp"
|
||||||
- 'src/mongo/db/update/update_object_node_test.cpp'
|
- "src/mongo/db/update/update_object_node_test.cpp"
|
||||||
- 'src/mongo/util/options_parser/environment.cpp'
|
- "src/mongo/util/options_parser/environment.cpp"
|
||||||
- 'src/mongo/util/options_parser/option_section.cpp'
|
- "src/mongo/util/options_parser/option_section.cpp"
|
||||||
|
|
||||||
# regex file paths to add keep pragma
|
# regex file paths to add keep pragma
|
||||||
# include quotes are angle brackets
|
# include quotes are angle brackets
|
||||||
|
|
@ -68,11 +68,11 @@ keep_includes:
|
||||||
- '<fmt/printf\.h>'
|
- '<fmt/printf\.h>'
|
||||||
- '<fmt/ranges\.h>'
|
- '<fmt/ranges\.h>'
|
||||||
- '<fmt/chrono\.h>'
|
- '<fmt/chrono\.h>'
|
||||||
- '<yaml-cpp/yaml.h>'
|
- "<yaml-cpp/yaml.h>"
|
||||||
- '<asio\.hpp>'
|
- '<asio\.hpp>'
|
||||||
- '<boost/utility/in_place_factory\.hpp>'
|
- '<boost/utility/in_place_factory\.hpp>'
|
||||||
- '<libunwind.h>'
|
- "<libunwind.h>"
|
||||||
- '<fstream>' # IWYU messes up template instantiation
|
- "<fstream>" # IWYU messes up template instantiation
|
||||||
- '"mongo/rpc/object_check\.h"'
|
- '"mongo/rpc/object_check\.h"'
|
||||||
- '"mongo/base/init\.h"'
|
- '"mongo/base/init\.h"'
|
||||||
- '"mongo/scripting/mozjs/wrapconstrainedmethod\.h"'
|
- '"mongo/scripting/mozjs/wrapconstrainedmethod\.h"'
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
# options passed to IWYU
|
# options passed to IWYU
|
||||||
iwyu_options:
|
iwyu_options:
|
||||||
- '--max_line_length=100'
|
- "--max_line_length=100"
|
||||||
- '--no_fwd_decls'
|
- "--no_fwd_decls"
|
||||||
- '--prefix_header_includes=add'
|
- "--prefix_header_includes=add"
|
||||||
- '--transitive_includes_only'
|
- "--transitive_includes_only"
|
||||||
|
|
||||||
# options passed to the fix script
|
# options passed to the fix script
|
||||||
fix_options:
|
fix_options:
|
||||||
- '--blank_lines'
|
- "--blank_lines"
|
||||||
- '--nocomments'
|
- "--nocomments"
|
||||||
- '--noreorder'
|
- "--noreorder"
|
||||||
- '--safe_headers'
|
- "--safe_headers"
|
||||||
|
|
||||||
# filename regex to swap no_include in place
|
# filename regex to swap no_include in place
|
||||||
# quotes and brackets not included quotes are always assumed
|
# quotes and brackets not included quotes are always assumed
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
# options passed to IWYU
|
# options passed to IWYU
|
||||||
iwyu_options:
|
iwyu_options:
|
||||||
- '--max_line_length=100'
|
- "--max_line_length=100"
|
||||||
- '--no_fwd_decls'
|
- "--no_fwd_decls"
|
||||||
- '--prefix_header_includes=add'
|
- "--prefix_header_includes=add"
|
||||||
- '--transitive_includes_only'
|
- "--transitive_includes_only"
|
||||||
|
|
||||||
# options passed to the fix script
|
# options passed to the fix script
|
||||||
fix_options:
|
fix_options:
|
||||||
- '--blank_lines'
|
- "--blank_lines"
|
||||||
- '--nocomments'
|
- "--nocomments"
|
||||||
- '--noreorder'
|
- "--noreorder"
|
||||||
- '--safe_headers'
|
- "--safe_headers"
|
||||||
|
|
||||||
# filename regex to swap no_include in place
|
# filename regex to swap no_include in place
|
||||||
# quotes and brackets not included quotes are always assumed
|
# quotes and brackets not included quotes are always assumed
|
||||||
# since this is targeting IWYU added headers
|
# since this is targeting IWYU added headers
|
||||||
no_includes:
|
no_includes:
|
||||||
- 'b.h'
|
- "b.h"
|
||||||
|
|
||||||
# prefixes (non regex) to skip
|
# prefixes (non regex) to skip
|
||||||
skip_files:
|
skip_files:
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@ systemLog:
|
||||||
net:
|
net:
|
||||||
port: 27017
|
port: 27017
|
||||||
bindIp: 127.0.0.1
|
bindIp: 127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
#processManagement:
|
#processManagement:
|
||||||
|
|
||||||
#security:
|
#security:
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
logging:
|
logging:
|
||||||
executor:
|
executor:
|
||||||
format: '[%(name)s] %(asctime)s %(message)s'
|
format: "[%(name)s] %(asctime)s %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.StreamHandler
|
- class: logging.StreamHandler
|
||||||
fixture:
|
fixture:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: buildlogger
|
- class: buildlogger
|
||||||
tests:
|
tests:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: buildlogger
|
- class: buildlogger
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
logging:
|
logging:
|
||||||
executor:
|
executor:
|
||||||
format: '[%(name)s] %(asctime)s %(message)s'
|
format: "[%(name)s] %(asctime)s %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.StreamHandler
|
- class: logging.StreamHandler
|
||||||
fixture:
|
fixture:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.StreamHandler
|
- class: logging.StreamHandler
|
||||||
tests:
|
tests:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.StreamHandler
|
- class: logging.StreamHandler
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
logging:
|
logging:
|
||||||
executor:
|
executor:
|
||||||
format: '[%(name)s] %(asctime)s %(message)s'
|
format: "[%(name)s] %(asctime)s %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.StreamHandler
|
- class: logging.StreamHandler
|
||||||
fixture:
|
fixture:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: evergreen
|
- class: evergreen
|
||||||
tests:
|
tests:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: evergreen
|
- class: evergreen
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
logging:
|
logging:
|
||||||
executor:
|
executor:
|
||||||
format: '[%(name)s] %(asctime)s %(message)s'
|
format: "[%(name)s] %(asctime)s %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.FileHandler
|
- class: logging.FileHandler
|
||||||
filename: executor.log
|
filename: executor.log
|
||||||
mode: w
|
mode: w
|
||||||
fixture:
|
fixture:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.FileHandler
|
- class: logging.FileHandler
|
||||||
filename: fixture.log
|
filename: fixture.log
|
||||||
mode: w
|
mode: w
|
||||||
tests:
|
tests:
|
||||||
format: '[%(name)s] %(message)s'
|
format: "[%(name)s] %(message)s"
|
||||||
handlers:
|
handlers:
|
||||||
- class: logging.FileHandler
|
- class: logging.FileHandler
|
||||||
filename: tests.log
|
filename: tests.log
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
auditDestination: 'console'
|
auditDestination: "console"
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
# not delay changes to wait for notifications or a clock advancement from other shards.
|
# not delay changes to wait for notifications or a clock advancement from other shards.
|
||||||
num_shards: 2
|
num_shards: 2
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
enableEncryption: ''
|
enableEncryption: ""
|
||||||
encryptionKeyFile: 'src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2'
|
encryptionKeyFile: "src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2"
|
||||||
|
|
||||||
- name: testdata_gcm
|
- name: testdata_gcm
|
||||||
value:
|
value:
|
||||||
|
|
@ -16,22 +16,22 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
encryptionCipherMode: 'AES256-GCM'
|
encryptionCipherMode: "AES256-GCM"
|
||||||
|
|
||||||
- name: mongodfixture_ese
|
- name: mongodfixture_ese
|
||||||
value:
|
value:
|
||||||
executor:
|
executor:
|
||||||
fixture:
|
fixture:
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableEncryption: ''
|
enableEncryption: ""
|
||||||
encryptionKeyFile: 'src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2'
|
encryptionKeyFile: "src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2"
|
||||||
|
|
||||||
- name: mongodfixture_gcm
|
- name: mongodfixture_gcm
|
||||||
value:
|
value:
|
||||||
executor:
|
executor:
|
||||||
fixture:
|
fixture:
|
||||||
mongod_options:
|
mongod_options:
|
||||||
encryptionCipherMode: 'AES256-GCM'
|
encryptionCipherMode: "AES256-GCM"
|
||||||
|
|
||||||
- name: excluded_files
|
- name: excluded_files
|
||||||
value:
|
value:
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
syncdelay: 5
|
syncdelay: 5
|
||||||
wiredTigerEngineConfigString: "debug_mode=(table_logging=true)"
|
wiredTigerEngineConfigString: "debug_mode=(table_logging=true)"
|
||||||
set_parameters:
|
set_parameters:
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
wiredTigerEngineConfigString: "debug_mode=(table_logging=true)"
|
wiredTigerEngineConfigString: "debug_mode=(table_logging=true)"
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,6 @@
|
||||||
TestData:
|
TestData:
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
|
|
||||||
### Suite-specific overrides ###
|
### Suite-specific overrides ###
|
||||||
- name: multiversion_future_git_tag_exclude_files
|
- name: multiversion_future_git_tag_exclude_files
|
||||||
value:
|
value:
|
||||||
|
|
@ -200,7 +199,7 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-lts'
|
useRandomBinVersionsWithinReplicaSet: "last-lts"
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
- name: replica_sets_multiversion_testdata_last_continuous
|
- name: replica_sets_multiversion_testdata_last_continuous
|
||||||
|
|
@ -210,7 +209,7 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-continuous'
|
useRandomBinVersionsWithinReplicaSet: "last-continuous"
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
- name: rollback_multiversion_fuzzer_testdata_last_lts
|
- name: rollback_multiversion_fuzzer_testdata_last_lts
|
||||||
|
|
@ -229,7 +228,7 @@
|
||||||
storage:
|
storage:
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
rollbackShutdowns: true
|
rollbackShutdowns: true
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-lts'
|
useRandomBinVersionsWithinReplicaSet: "last-lts"
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
- name: rollback_multiversion_fuzzer_testdata_last_continuous
|
- name: rollback_multiversion_fuzzer_testdata_last_continuous
|
||||||
|
|
@ -248,7 +247,7 @@
|
||||||
storage:
|
storage:
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
rollbackShutdowns: true
|
rollbackShutdowns: true
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-continuous'
|
useRandomBinVersionsWithinReplicaSet: "last-continuous"
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
- name: sharding_multiversion_selector
|
- name: sharding_multiversion_selector
|
||||||
|
|
@ -281,8 +280,8 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-lts'
|
useRandomBinVersionsWithinReplicaSet: "last-lts"
|
||||||
mongosBinVersion: 'last-lts'
|
mongosBinVersion: "last-lts"
|
||||||
nonClusteredConfigTransactions: true
|
nonClusteredConfigTransactions: true
|
||||||
|
|
||||||
- name: sharding_multiversion_testdata_last_continuous
|
- name: sharding_multiversion_testdata_last_continuous
|
||||||
|
|
@ -292,8 +291,8 @@
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
useRandomBinVersionsWithinReplicaSet: 'last-continuous'
|
useRandomBinVersionsWithinReplicaSet: "last-continuous"
|
||||||
mongosBinVersion: 'last-continuous'
|
mongosBinVersion: "last-continuous"
|
||||||
|
|
||||||
- name: jstestfuzz_replication_multiversion_hooks
|
- name: jstestfuzz_replication_multiversion_hooks
|
||||||
value:
|
value:
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@
|
||||||
exclude_files:
|
exclude_files:
|
||||||
- jstests/aggregation/**/*.js
|
- jstests/aggregation/**/*.js
|
||||||
|
|
||||||
|
|
||||||
- name: reconfig_kill_primary_jscore_passthrough_exclude_files
|
- name: reconfig_kill_primary_jscore_passthrough_exclude_files
|
||||||
value:
|
value:
|
||||||
selector:
|
selector:
|
||||||
|
|
@ -135,7 +134,6 @@
|
||||||
- jstests/fle2/**/*.js
|
- jstests/fle2/**/*.js
|
||||||
- src/mongo/db/modules/*/jstests/fle2/**/*.js
|
- src/mongo/db/modules/*/jstests/fle2/**/*.js
|
||||||
|
|
||||||
|
|
||||||
- name: kill_primary_jscore_passthrough_exclude_with_any_tags
|
- name: kill_primary_jscore_passthrough_exclude_with_any_tags
|
||||||
value:
|
value:
|
||||||
selector:
|
selector:
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
hashTestNamesForMultitenancy: true
|
hashTestNamesForMultitenancy: true
|
||||||
tenantId: "636d957b2646ddfaf9b5e13f"
|
tenantId: "636d957b2646ddfaf9b5e13f"
|
||||||
useResponsePrefixChecking: true
|
useResponsePrefixChecking: true
|
||||||
|
|
@ -17,9 +17,9 @@
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
replset_name: "ChangeStreamMultitenantReplSet"
|
replset_name: "ChangeStreamMultitenantReplSet"
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
serverless: true
|
serverless: true
|
||||||
noscripting: ''
|
noscripting: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagServerlessChangeStreams: true
|
featureFlagServerlessChangeStreams: true
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
# - 'mongod_options'
|
# - 'mongod_options'
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: powercycle
|
- name: powercycle
|
||||||
|
|
||||||
- name: powercycle_smoke
|
- name: powercycle_smoke
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: MongoDFixture
|
class: MongoDFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
auth: ''
|
auth: ""
|
||||||
keyFile: *keyFile
|
keyFile: *keyFile
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: MongoDFixture
|
class: MongoDFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableEncryption: ''
|
enableEncryption: ""
|
||||||
encryptionKeyFile: *keyFile
|
encryptionKeyFile: *keyFile
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: MongoDFixture
|
class: MongoDFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableEncryption: ''
|
enableEncryption: ""
|
||||||
encryptionKeyFile: *keyFile
|
encryptionKeyFile: *keyFile
|
||||||
encryptionCipherMode: 'AES256-GCM'
|
encryptionCipherMode: "AES256-GCM"
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: majority
|
defaultReadConcernLevel: majority
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
eval: >-
|
eval: >-
|
||||||
globalThis.testingReplication = true;
|
globalThis.testingReplication = true;
|
||||||
await import('jstests/libs/override_methods/set_read_and_write_concerns.js');
|
await import('jstests/libs/override_methods/set_read_and_write_concerns.js');
|
||||||
|
|
@ -49,7 +49,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,4 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
roleGraphInvalidationIsFatal: true
|
roleGraphInvalidationIsFatal: true
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
auditDestination: 'console'
|
auditDestination: "console"
|
||||||
roleGraphInvalidationIsFatal: true
|
roleGraphInvalidationIsFatal: true
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,6 @@ selector:
|
||||||
# These benchmarks are being run as part of the benchmarks_replication.yml test suite.
|
# These benchmarks are being run as part of the benchmarks_replication.yml test suite.
|
||||||
- build/install/bin/oplog_application_bm*
|
- build/install/bin/oplog_application_bm*
|
||||||
|
|
||||||
|
|
||||||
executor:
|
executor:
|
||||||
config: {}
|
config: {}
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,6 @@ selector:
|
||||||
- build/install/bin/oplog_application_bm*
|
- build/install/bin/oplog_application_bm*
|
||||||
- build/install/bin/oplog_applier_utils_bm*
|
- build/install/bin/oplog_applier_utils_bm*
|
||||||
|
|
||||||
|
|
||||||
executor:
|
executor:
|
||||||
config: {}
|
config: {}
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,4 @@ selector:
|
||||||
- buildscripts/tests/resmoke_end2end/**/test_*.py # Requires compile task. Test run in resmoke_end2end_tests.yml instead.
|
- buildscripts/tests/resmoke_end2end/**/test_*.py # Requires compile task. Test run in resmoke_end2end_tests.yml instead.
|
||||||
- buildscripts/tests/resmoke_validation/**/test_*.py # Ran in commit queue in resmoke_validation_tests
|
- buildscripts/tests/resmoke_validation/**/test_*.py # Ran in commit queue in resmoke_validation_tests
|
||||||
|
|
||||||
|
|
||||||
executor: {}
|
executor: {}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@ selector:
|
||||||
# bulkWrite is consistent with the other CRUD operations here.
|
# bulkWrite is consistent with the other CRUD operations here.
|
||||||
- jstests/core/txns/multi_statement_transaction_write_error.js
|
- jstests/core/txns/multi_statement_transaction_write_error.js
|
||||||
|
|
||||||
|
|
||||||
# Multiple cluster specific exclusions
|
# Multiple cluster specific exclusions
|
||||||
|
|
||||||
# Don't run transaction specific tests.
|
# Don't run transaction specific tests.
|
||||||
|
|
|
||||||
|
|
@ -62,5 +62,5 @@ executor:
|
||||||
tests: true
|
tests: true
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
eval: await import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
eval: await import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ executor:
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
asio: 2
|
asio: 2
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
logComponentVerbosity:
|
logComponentVerbosity:
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ executor:
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
asio: 2
|
asio: 2
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
logComponentVerbosity:
|
logComponentVerbosity:
|
||||||
|
|
|
||||||
|
|
@ -179,8 +179,8 @@ executor:
|
||||||
verbosity: 1
|
verbosity: 1
|
||||||
asio: 2
|
asio: 2
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
auth: ''
|
auth: ""
|
||||||
keyFile: *keyFile
|
keyFile: *keyFile
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -60,5 +60,5 @@ executor:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
minSnapshotHistoryWindowInSeconds: 3600
|
minSnapshotHistoryWindowInSeconds: 3600
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. Some tests
|
# Enable causal consistency for change streams suites using 1 node replica sets. Some tests
|
||||||
# rely on the assumption that a w:majority write will be visible immediately in a subsequently
|
# rely on the assumption that a w:majority write will be visible immediately in a subsequently
|
||||||
# opened change stream. In 1 node replica sets, an operation that majority commits at
|
# opened change stream. In 1 node replica sets, an operation that majority commits at
|
||||||
|
|
@ -49,7 +49,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
eval: >-
|
eval: >-
|
||||||
|
|
@ -53,11 +53,11 @@ executor:
|
||||||
# not delay changes to wait for notifications or a clock advancement from other shards.
|
# not delay changes to wait for notifications or a clock advancement from other shards.
|
||||||
num_shards: 2
|
num_shards: 2
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
periodicNoopIntervalSecs: 1
|
periodicNoopIntervalSecs: 1
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,11 @@ executor:
|
||||||
# not delay changes to wait for notifications or a clock advancement from other shards.
|
# not delay changes to wait for notifications or a clock advancement from other shards.
|
||||||
num_shards: 2
|
num_shards: 2
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
periodicNoopIntervalSecs: 1
|
periodicNoopIntervalSecs: 1
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
num_nodes: 1
|
num_nodes: 1
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagAllMongodsAreSharded: 1
|
featureFlagAllMongodsAreSharded: 1
|
||||||
|
|
|
||||||
|
|
@ -53,11 +53,11 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ShardedClusterFixture
|
class: ShardedClusterFixture
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
tenantId: "636d957b2646ddfaf9b5e13f"
|
tenantId: "636d957b2646ddfaf9b5e13f"
|
||||||
hashTestNamesForMultitenancy: true
|
hashTestNamesForMultitenancy: true
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
|
|
@ -93,9 +93,9 @@ executor:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
replset_name: "ChangeStreamMultitenantReplSet"
|
replset_name: "ChangeStreamMultitenantReplSet"
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
serverless: true
|
serverless: true
|
||||||
noscripting: ''
|
noscripting: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagServerlessChangeStreams: true
|
featureFlagServerlessChangeStreams: true
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
eval: >-
|
eval: >-
|
||||||
|
|
@ -64,11 +64,11 @@ executor:
|
||||||
class: ShardedClusterFixture
|
class: ShardedClusterFixture
|
||||||
num_shards: 2
|
num_shards: 2
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
periodicNoopIntervalSecs: 1
|
periodicNoopIntervalSecs: 1
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
eval: >-
|
eval: >-
|
||||||
|
|
@ -52,11 +52,11 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ShardedClusterFixture
|
class: ShardedClusterFixture
|
||||||
mongos_options:
|
mongos_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
eval: >-
|
eval: >-
|
||||||
|
|
@ -46,7 +46,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
num_nodes: 1
|
num_nodes: 1
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
testingReplicaSetEndpoint: true
|
testingReplicaSetEndpoint: true
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams_whole_cluster.yml for detailed explanation.
|
# change_streams_whole_cluster.yml for detailed explanation.
|
||||||
|
|
@ -70,7 +70,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagAllMongodsAreSharded: 1
|
featureFlagAllMongodsAreSharded: 1
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
eval: >-
|
eval: >-
|
||||||
|
|
@ -47,7 +47,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
num_nodes: 1
|
num_nodes: 1
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
testingReplicaSetEndpoint: true
|
testingReplicaSetEndpoint: true
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
# Enable causal consistency for change streams suites using 1 node replica sets. See
|
||||||
# change_streams.yml for detailed explanation.
|
# change_streams.yml for detailed explanation.
|
||||||
|
|
@ -70,7 +70,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagAllMongodsAreSharded: 1
|
featureFlagAllMongodsAreSharded: 1
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadConcernLevel: null
|
defaultReadConcernLevel: null
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
testingReplicaSetEndpoint: true
|
testingReplicaSetEndpoint: true
|
||||||
# Enable causal consistency for change streams suites using 1 node replica sets. Some tests
|
# Enable causal consistency for change streams suites using 1 node replica sets. Some tests
|
||||||
# rely on the assumption that a w:majority write will be visible immediately in a subsequently
|
# rely on the assumption that a w:majority write will be visible immediately in a subsequently
|
||||||
|
|
@ -73,7 +73,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
bind_ip_all: ''
|
bind_ip_all: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
featureFlagAllMongodsAreSharded: 1
|
featureFlagAllMongodsAreSharded: 1
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,9 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
ssl: ''
|
ssl: ""
|
||||||
tlsAllowInvalidHostnames: ''
|
tlsAllowInvalidHostnames: ""
|
||||||
tlsAllowInvalidCertificates: ''
|
tlsAllowInvalidCertificates: ""
|
||||||
tlsCAFile: jstests/libs/ca.pem
|
tlsCAFile: jstests/libs/ca.pem
|
||||||
tlsCertificateKeyFile: jstests/libs/client.pem
|
tlsCertificateKeyFile: jstests/libs/client.pem
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ selector:
|
||||||
- jstests/fle2/**/*.js
|
- jstests/fle2/**/*.js
|
||||||
- src/mongo/db/modules/*/jstests/fle2/**/*.js
|
- src/mongo/db/modules/*/jstests/fle2/**/*.js
|
||||||
exclude_files:
|
exclude_files:
|
||||||
|
|
||||||
# Assumes the _id index is real.
|
# Assumes the _id index is real.
|
||||||
- jstests/core/**/collmod_convert_to_ttl.js
|
- jstests/core/**/collmod_convert_to_ttl.js
|
||||||
- jstests/core/**/index_create_too_many.js
|
- jstests/core/**/index_create_too_many.js
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ selector:
|
||||||
- jstests/concurrency/fsm_workloads/auth_create_user.js
|
- jstests/concurrency/fsm_workloads/auth_create_user.js
|
||||||
- jstests/concurrency/fsm_workloads/auth_role_consistency.js
|
- jstests/concurrency/fsm_workloads/auth_role_consistency.js
|
||||||
|
|
||||||
|
|
||||||
# TODO SERVER-82260: FLE2 tests access an invalid VTS which has neither tenant nor user name.
|
# TODO SERVER-82260: FLE2 tests access an invalid VTS which has neither tenant nor user name.
|
||||||
- src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js
|
- src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_compact.js
|
||||||
- src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_crud.js
|
- src/mongo/db/modules/enterprise/jstests/concurrency/fsm_workloads/fle2_crud.js
|
||||||
|
|
@ -94,5 +93,5 @@ executor:
|
||||||
multitenancySupport: true
|
multitenancySupport: true
|
||||||
logComponentVerbosity:
|
logComponentVerbosity:
|
||||||
command: 2
|
command: 2
|
||||||
noscripting: ''
|
noscripting: ""
|
||||||
num_nodes: 3
|
num_nodes: 3
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@ executor:
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
||||||
import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
|
||||||
hooks:
|
hooks:
|
||||||
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
|
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
|
||||||
# on the secondaries, so we run the ValidateCollections hook after it to ensure we're
|
# on the secondaries, so we run the ValidateCollections hook after it to ensure we're
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,7 @@ executor:
|
||||||
shell_options:
|
shell_options:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
||||||
import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
|
||||||
testingReplicaSetEndpoint: true
|
testingReplicaSetEndpoint: true
|
||||||
hooks:
|
hooks:
|
||||||
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
|
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -78,8 +77,7 @@ executor:
|
||||||
TestData:
|
TestData:
|
||||||
runningWithCausalConsistency: true
|
runningWithCausalConsistency: true
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
|
|
|
||||||
|
|
@ -196,15 +196,15 @@ executor:
|
||||||
await import('jstests/libs/override_methods/enable_causal_consistency_without_read_pref.js');
|
await import('jstests/libs/override_methods/enable_causal_consistency_without_read_pref.js');
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
defaultReadPreference: {mode: "secondaryPreferred", tags: [{tag: "INIT_SYNC"}, {}]}
|
defaultReadPreference:
|
||||||
|
{mode: "secondaryPreferred", tags: [{tag: "INIT_SYNC"}, {}]}
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
# Will prompt the FSM workers to use 'network_error_and_txn_override.js'
|
# Will prompt the FSM workers to use 'network_error_and_txn_override.js'
|
||||||
# and generally retry operations.
|
# and generally retry operations.
|
||||||
runningWithConfigStepdowns: true
|
runningWithConfigStepdowns: true
|
||||||
runningWithShardStepdowns: true
|
runningWithShardStepdowns: true
|
||||||
useActionPermittedFile: true
|
useActionPermittedFile: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: ContinuousInitialSync
|
- class: ContinuousInitialSync
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -160,8 +159,7 @@ executor:
|
||||||
runningWithShardStepdowns: true
|
runningWithShardStepdowns: true
|
||||||
useActionPermittedFile: true
|
useActionPermittedFile: true
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: ContinuousStepdown
|
- class: ContinuousStepdown
|
||||||
config_stepdown: true
|
config_stepdown: true
|
||||||
|
|
|
||||||
|
|
@ -126,8 +126,7 @@ executor:
|
||||||
runningWithSessions: true
|
runningWithSessions: true
|
||||||
traceExceptions: false
|
traceExceptions: false
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
|
|
|
||||||
|
|
@ -117,8 +117,7 @@ executor:
|
||||||
runningWithSessions: true
|
runningWithSessions: true
|
||||||
traceExceptions: false
|
traceExceptions: false
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -79,8 +78,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
runningWithBalancer: false
|
runningWithBalancer: false
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
||||||
import('jstests/libs/override_methods/single_crud_op_as_bulk_write.js');
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
# TODO (SERVER-63855): remove 'RunDBCheckInBackground' or put it back.
|
# TODO (SERVER-63855): remove 'RunDBCheckInBackground' or put it back.
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -83,8 +82,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
- class: CheckReplDBHashInBackground
|
- class: CheckReplDBHashInBackground
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -88,8 +87,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: ContinuousConfigShardTransition
|
- class: ContinuousConfigShardTransition
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -160,8 +159,7 @@ executor:
|
||||||
runningWithShardStepdowns: true
|
runningWithShardStepdowns: true
|
||||||
useActionPermittedFile: true
|
useActionPermittedFile: true
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: ContinuousStepdown
|
- class: ContinuousStepdown
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -79,8 +78,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: CheckShardFilteringMetadata
|
- class: CheckShardFilteringMetadata
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ selector:
|
||||||
# can cause OOM kills on test hosts
|
# can cause OOM kills on test hosts
|
||||||
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
|
||||||
|
|
||||||
|
|
||||||
# cannot createIndex after dropDatabase without sharding first
|
# cannot createIndex after dropDatabase without sharding first
|
||||||
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
- jstests/concurrency/fsm_workloads/plan_cache_drop_database.js
|
||||||
|
|
||||||
|
|
@ -157,8 +156,7 @@ executor:
|
||||||
runningWithShardStepdowns: true
|
runningWithShardStepdowns: true
|
||||||
useActionPermittedFile: true
|
useActionPermittedFile: true
|
||||||
runningWithBalancer: true
|
runningWithBalancer: true
|
||||||
fsmPreOverridesLoadedCallback:
|
fsmPreOverridesLoadedCallback: import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
||||||
import("jstests/libs/override_methods/implicitly_retry_on_migration_in_progress.js");
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
- class: ContinuousStepdown
|
- class: ContinuousStepdown
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: MongoDFixture
|
class: MongoDFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
auth: ''
|
auth: ""
|
||||||
keyFile: *keyFile
|
keyFile: *keyFile
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: MongoDFixture
|
class: MongoDFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
enableEncryption: ''
|
enableEncryption: ""
|
||||||
encryptionKeyFile: *keyFile
|
encryptionKeyFile: *keyFile
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ executor:
|
||||||
set_parameters:
|
set_parameters:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
enableMajorityReadConcern: ''
|
enableMajorityReadConcern: ""
|
||||||
# This suite requires w="majority" writes to be applied on all secondaries. By using a 2-node
|
# This suite requires w="majority" writes to be applied on all secondaries. By using a 2-node
|
||||||
# replica set and having secondaries vote, the majority of the replica set is all nodes.
|
# replica set and having secondaries vote, the majority of the replica set is all nodes.
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
storageEngine: wiredTiger
|
storageEngine: wiredTiger
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ executor:
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
roleGraphInvalidationIsFatal: true
|
roleGraphInvalidationIsFatal: true
|
||||||
nodb: ''
|
nodb: ""
|
||||||
gssapiServiceName: "mockservice"
|
gssapiServiceName: "mockservice"
|
||||||
process_kwargs:
|
process_kwargs:
|
||||||
env_vars:
|
env_vars:
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,4 @@ executor:
|
||||||
keyFile: *keyFile
|
keyFile: *keyFile
|
||||||
keyFileData: *keyFileData
|
keyFileData: *keyFileData
|
||||||
roleGraphInvalidationIsFatal: true
|
roleGraphInvalidationIsFatal: true
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
ssl: ''
|
ssl: ""
|
||||||
tlsAllowInvalidHostnames: ''
|
tlsAllowInvalidHostnames: ""
|
||||||
tlsAllowInvalidCertificates: ''
|
tlsAllowInvalidCertificates: ""
|
||||||
tlsCAFile: jstests/libs/ca.pem
|
tlsCAFile: jstests/libs/ca.pem
|
||||||
tlsCertificateKeyFile: jstests/libs/client.pem
|
tlsCertificateKeyFile: jstests/libs/client.pem
|
||||||
global_vars:
|
global_vars:
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@ selector:
|
||||||
executor:
|
executor:
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
ssl: ''
|
ssl: ""
|
||||||
tlsAllowInvalidHostnames: ''
|
tlsAllowInvalidHostnames: ""
|
||||||
tlsAllowInvalidCertificates: ''
|
tlsAllowInvalidCertificates: ""
|
||||||
tlsCAFile: jstests/libs/ca.pem
|
tlsCAFile: jstests/libs/ca.pem
|
||||||
tlsCertificateKeyFile: jstests/libs/client.pem
|
tlsCertificateKeyFile: jstests/libs/client.pem
|
||||||
global_vars:
|
global_vars:
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@ executor:
|
||||||
tests: true
|
tests: true
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
clusterType: 'standalone'
|
clusterType: "standalone"
|
||||||
traceExceptions: false
|
traceExceptions: false
|
||||||
internalQueryAppendIdToSetWindowFieldsSort: true
|
internalQueryAppendIdToSetWindowFieldsSort: true
|
||||||
# Reduce the number of docs generated from $densify to avoid the 30min timeout.
|
# Reduce the number of docs generated from $densify to avoid the 30min timeout.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ executor:
|
||||||
tests: true
|
tests: true
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
clusterType: 'replset'
|
clusterType: "replset"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ executor:
|
||||||
tests: true
|
tests: true
|
||||||
config:
|
config:
|
||||||
shell_options:
|
shell_options:
|
||||||
nodb: ''
|
nodb: ""
|
||||||
global_vars:
|
global_vars:
|
||||||
TestData:
|
TestData:
|
||||||
logComponentVerbosity:
|
logComponentVerbosity:
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ executor:
|
||||||
tlsCertificateKeyFile: jstests/libs/server.pem
|
tlsCertificateKeyFile: jstests/libs/server.pem
|
||||||
keyFile: *keyFile
|
keyFile: *keyFile
|
||||||
clusterAuthMode: sendX509
|
clusterAuthMode: sendX509
|
||||||
auth: ''
|
auth: ""
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
auth_options:
|
auth_options:
|
||||||
<<: *authOptions
|
<<: *authOptions
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,4 @@ executor:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
internalQueryStatsRateLimit: -1
|
internalQueryStatsRateLimit: -1
|
||||||
internalQueryStatsErrorsAreCommandFatal: true
|
internalQueryStatsErrorsAreCommandFatal: true
|
||||||
verbose: ''
|
verbose: ""
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,4 @@ executor:
|
||||||
set_parameters:
|
set_parameters:
|
||||||
disableLogicalSessionCacheRefresh: false
|
disableLogicalSessionCacheRefresh: false
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
verbose: ''
|
verbose: ""
|
||||||
|
|
|
||||||
|
|
@ -42,5 +42,5 @@ executor:
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
transactionLifetimeLimitSeconds: 1
|
transactionLifetimeLimitSeconds: 1
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
verbose: ''
|
verbose: ""
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -46,5 +46,5 @@ executor:
|
||||||
writePeriodicNoops: 1
|
writePeriodicNoops: 1
|
||||||
internalQueryStatsRateLimit: -1
|
internalQueryStatsRateLimit: -1
|
||||||
internalQueryStatsErrorsAreCommandFatal: true
|
internalQueryStatsErrorsAreCommandFatal: true
|
||||||
verbose: ''
|
verbose: ""
|
||||||
num_nodes: 2
|
num_nodes: 2
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
verbose: ''
|
verbose: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
disableLogicalSessionCacheRefresh: false
|
disableLogicalSessionCacheRefresh: false
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ executor:
|
||||||
fixture:
|
fixture:
|
||||||
class: ReplicaSetFixture
|
class: ReplicaSetFixture
|
||||||
mongod_options:
|
mongod_options:
|
||||||
verbose: ''
|
verbose: ""
|
||||||
set_parameters:
|
set_parameters:
|
||||||
disableLogicalSessionCacheRefresh: false
|
disableLogicalSessionCacheRefresh: false
|
||||||
enableTestCommands: 1
|
enableTestCommands: 1
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue