summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilena Ivanova <milena.ivanova@mongodb.com>2022-09-22 15:45:46 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-22 16:49:36 +0000
commit37c8cb40955d6c330d0105ad5266c199b43a7dcb (patch)
tree78aff7550a55230a0d2f65732ec73b318d1491f4
parent9115e5c924377eec14a0d1ed15d27574dec01e09 (diff)
downloadmongo-37c8cb40955d6c330d0105ad5266c199b43a7dcb.tar.gz
SERVER-68301 Enable fle2/query tests in passthrough suites
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/causally_consistent_read_concern_snapshot_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/core_column_store_indexes.yml2
-rwxr-xr-xbuildscripts/resmokeconfig/suites/cst_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/cwrwc_rc_majority_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/fle2.yml5
-rw-r--r--buildscripts/resmokeconfig/suites/fle2_high_cardinality.yml5
-rw-r--r--buildscripts/resmokeconfig/suites/fle2_sharding.yml5
-rw-r--r--buildscripts/resmokeconfig/suites/fle2_sharding_high_cardinality.yml5
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_sharding_100ms_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_sharding_10sec_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_sharding_1sec_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/logical_session_cache_sharding_default_refresh_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_api_version_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_fcbis_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_stepdown_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_causally_consistent_read_concern_snapshot_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_api_version_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml2
-rw-r--r--buildscripts/resmokeconfig/suites/talk_directly_to_shardsvrs_jscore_passthrough.yml2
-rw-r--r--jstests/fle2/libs/encrypted_client_util.js7
39 files changed, 42 insertions, 53 deletions
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
index 4b87a4b4b82..a15a6fffc13 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Has conditional logic for standalone servers and replica sets, but can't distinguish the two
# when connected to mongos.
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
index 3d429f10812..82c3c58a019 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_jscore_passthrough_auth.yml
@@ -13,7 +13,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Skip any tests that run with auth explicitly.
- jstests/core/*[aA]uth*.js
diff --git a/buildscripts/resmokeconfig/suites/causally_consistent_read_concern_snapshot_passthrough.yml b/buildscripts/resmokeconfig/suites/causally_consistent_read_concern_snapshot_passthrough.yml
index 85fde91a162..d8556569ca3 100644
--- a/buildscripts/resmokeconfig/suites/causally_consistent_read_concern_snapshot_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/causally_consistent_read_concern_snapshot_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Only the first command in a transaction allows readConcern and this suite only tests
# non-transaction snapshot reads.
diff --git a/buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml b/buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml
index d583ded52ba..1201ce68e93 100644
--- a/buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml
@@ -6,7 +6,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Assumes the _id index is real.
diff --git a/buildscripts/resmokeconfig/suites/core_column_store_indexes.yml b/buildscripts/resmokeconfig/suites/core_column_store_indexes.yml
index 86b8b845a97..1cb59b2061f 100644
--- a/buildscripts/resmokeconfig/suites/core_column_store_indexes.yml
+++ b/buildscripts/resmokeconfig/suites/core_column_store_indexes.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# TODO SERVER-68339 UBSAN has spurious warnings for column store indexes' encoding of large
# doubles.
diff --git a/buildscripts/resmokeconfig/suites/cst_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/cst_jscore_passthrough.yml
index 1d137ffbaea..4e07925f87b 100755
--- a/buildscripts/resmokeconfig/suites/cst_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/cst_jscore_passthrough.yml
@@ -7,7 +7,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
- jstests/core_standalone/**/*.js
exclude_files:
# Transactions are not supported on MongoDB standalone nodes, so we do not run these tests in the
diff --git a/buildscripts/resmokeconfig/suites/cwrwc_rc_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/cwrwc_rc_majority_passthrough.yml
index 722dc69aaf8..3727d649dab 100644
--- a/buildscripts/resmokeconfig/suites/cwrwc_rc_majority_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/cwrwc_rc_majority_passthrough.yml
@@ -7,7 +7,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions only a readConcern argument on the first command.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/fle2.yml b/buildscripts/resmokeconfig/suites/fle2.yml
index cfb1939eecf..c610c5c1d76 100644
--- a/buildscripts/resmokeconfig/suites/fle2.yml
+++ b/buildscripts/resmokeconfig/suites/fle2.yml
@@ -2,8 +2,7 @@ test_kind: js_test
selector:
roots:
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/query/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
executor:
archive:
@@ -11,7 +10,7 @@ executor:
- ValidateCollections
config:
shell_options:
- eval: "testingReplication = true; testingFLESharding = false; testingFLE2Range = true;"
+ eval: "testingReplication = true; testingFLE2Range = true;"
setShellParameter: featureFlagFLE2Range=true
hooks:
# We don't execute dbHash or oplog consistency checks since there is only a single replica set
diff --git a/buildscripts/resmokeconfig/suites/fle2_high_cardinality.yml b/buildscripts/resmokeconfig/suites/fle2_high_cardinality.yml
index 501ad825ee3..e92728bda93 100644
--- a/buildscripts/resmokeconfig/suites/fle2_high_cardinality.yml
+++ b/buildscripts/resmokeconfig/suites/fle2_high_cardinality.yml
@@ -2,8 +2,7 @@ test_kind: js_test
selector:
roots:
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/query/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_with_any_tags:
# Not compatible with tests the expect fle to always using $in in queries,
# i.e. verify explain output
@@ -15,7 +14,7 @@ executor:
- ValidateCollections
config:
shell_options:
- eval: "testingReplication = true; testingFLESharding = false; testingFLE2Range = true;"
+ eval: "testingReplication = true; testingFLE2Range = true;"
setShellParameter: featureFlagFLE2Range=true
hooks:
# We don't execute dbHash or oplog consistency checks since there is only a single replica set
diff --git a/buildscripts/resmokeconfig/suites/fle2_sharding.yml b/buildscripts/resmokeconfig/suites/fle2_sharding.yml
index 6db1bd377ca..5ba8ccf093b 100644
--- a/buildscripts/resmokeconfig/suites/fle2_sharding.yml
+++ b/buildscripts/resmokeconfig/suites/fle2_sharding.yml
@@ -2,8 +2,7 @@ test_kind: js_test
selector:
roots:
- jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/query/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
executor:
archive:
@@ -12,7 +11,7 @@ executor:
- ValidateCollections
config:
shell_options:
- eval: "testingReplication = false; testingFLESharding = true; testingFLE2Range = true;"
+ eval: "testingReplication = false; testingFLE2Range = true;"
setShellParameter: featureFlagFLE2Range=true
hooks:
- class: CheckReplDBHash
diff --git a/buildscripts/resmokeconfig/suites/fle2_sharding_high_cardinality.yml b/buildscripts/resmokeconfig/suites/fle2_sharding_high_cardinality.yml
index 4e66988a8b0..43feeb03b00 100644
--- a/buildscripts/resmokeconfig/suites/fle2_sharding_high_cardinality.yml
+++ b/buildscripts/resmokeconfig/suites/fle2_sharding_high_cardinality.yml
@@ -2,8 +2,7 @@ test_kind: js_test
selector:
roots:
- jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
- - src/mongo/db/modules/*/jstests/fle2/query/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_with_any_tags:
# Not compatible with tests the expect fle to always using $in in queries,
# i.e. verify explain output
@@ -16,7 +15,7 @@ executor:
- ValidateCollections
config:
shell_options:
- eval: "testingReplication = false; testingFLESharding = true; testingFLE2Range = true;"
+ eval: "testingReplication = false; testingFLE2Range = true;"
setShellParameter: featureFlagFLE2Range=true
hooks:
- class: CheckReplDBHash
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
index d44172752fb..3f6bd711010 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_100ms_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
# command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
index 2633fe3b32e..81d50f8759d 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_10sec_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
# command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
index ffa1b1c514f..c845864d81a 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_1sec_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
# command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
index fd4a882859e..0899cfd0b1b 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_replication_default_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
# command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_100ms_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_100ms_refresh_jscore_passthrough.yml
index 95dcfb8e610..3be371f2cf4 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_100ms_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_100ms_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests are run in logical_session_cache_sharding_100ms_refresh_jscore_txns_passthrough.yml.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_10sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_10sec_refresh_jscore_passthrough.yml
index 94880e8e712..5695ec4425f 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_10sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_10sec_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests are run in logical_session_cache_sharding_100ms_refresh_jscore_txns_passthrough.yml.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_1sec_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_1sec_refresh_jscore_passthrough.yml
index f68918366df..87ab1cc9fcf 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_1sec_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_1sec_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests are run in logical_session_cache_sharding_100ms_refresh_jscore_txns_passthrough.yml.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_default_refresh_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_default_refresh_jscore_passthrough.yml
index a08e4d5d81b..f167049ba08 100644
--- a/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_default_refresh_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/logical_session_cache_sharding_default_refresh_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests are run in logical_session_cache_sharding_100ms_refresh_jscore_txns_passthrough.yml.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
index 8c73f20ccc9..9acb1aa461b 100644
--- a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions only a readConcern argument on the first command.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_api_version_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_api_version_jscore_passthrough.yml
index da47a637ff5..3809405d3f7 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_api_version_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_api_version_jscore_passthrough.yml
@@ -6,7 +6,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# This test initiates a txn with API parameters, but runs txn-continuing commands in a separate
# Thread object. Since those commands will not have API parameters appended, they will fail due
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_fcbis_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_fcbis_jscore_passthrough.yml
index 52bdfb01c5d..b505af7313a 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_fcbis_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_fcbis_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Tests that query the system.profile collection cannot run in this suite since an initial sync
# may insert unexpected operations into the profile collection.
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
index e35e3a2e291..b3ed1f98509 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Tests that query the system.profile collection cannot run in this suite since an initial sync
# may insert unexpected operations into the profile collection.
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
index 81007f36c17..a497994cc85 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_initsync_static_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Duplicate namespace may cause cloner to try and clone view instead of collection
- jstests/core/views/duplicate_ns.js
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
index ad1b5e0f6f2..3dcb6d39cc9 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests change the transactionLifetimeLimitSeconds server parameter which conflicts with how
# the CheckReplDBHashInBackground hook doesn't want transactions to be reaped while it is running.
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_passthrough.yml
index 2cdb5f6b723..58f9339ad97 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_passthrough.yml
@@ -8,7 +8,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_stepdown_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_stepdown_passthrough.yml
index e7a6ea5612d..2c07f6d805a 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_stepdown_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_reconfig_jscore_stepdown_passthrough.yml
@@ -8,7 +8,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
index 4f0641d6474..a35d65f716a 100644
--- a/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/replica_sets_terminate_primary_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml b/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
index 183aad4eac5..1185ffc9001 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_downgrade.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_passthrough.yml
index f171716de51..38f02a9e37d 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
index 46d178b8647..b7eea2d8af2 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
index 6ee65a5bcd1..35820b4db52 100644
--- a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_jscore_passthrough.yml
@@ -6,7 +6,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The following tests fail because a certain command or functionality is not supported by
# mongos. This command or functionality is placed in a comment next to the failing test.
diff --git a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_read_concern_snapshot_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_read_concern_snapshot_passthrough.yml
index 5fd6072d08e..917d9d7ba60 100644
--- a/buildscripts/resmokeconfig/suites/sharded_causally_consistent_read_concern_snapshot_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_causally_consistent_read_concern_snapshot_passthrough.yml
@@ -6,7 +6,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The following tests fail because a certain command or functionality is not supported by
# mongos. This command or functionality is placed in a comment next to the failing test.
diff --git a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
index df3723a695b..609b69ab8ed 100644
--- a/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests run in the jscore_txn passthrough suites.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml b/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
index a9f45587d9a..22015b9a7f0 100644
--- a/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
+++ b/buildscripts/resmokeconfig/suites/sharded_retryable_writes_downgrade.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# Transactions do not support retryability of individual operations.
# TODO: Remove this once it is supported (SERVER-33952).
diff --git a/buildscripts/resmokeconfig/suites/sharding_api_version_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_api_version_jscore_passthrough.yml
index 6112ea49059..ddcec67ad56 100644
--- a/buildscripts/resmokeconfig/suites/sharding_api_version_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_api_version_jscore_passthrough.yml
@@ -6,7 +6,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# This test initiates a txn with API parameters, but runs txn-continuing commands in a separate
diff --git a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
index f30916472a0..9009b43d519 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# These tests are run in sharded_jscore_txns.
- jstests/core/txns/**/*.js
diff --git a/buildscripts/resmokeconfig/suites/talk_directly_to_shardsvrs_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/talk_directly_to_shardsvrs_jscore_passthrough.yml
index 140f179077d..257516dbff3 100644
--- a/buildscripts/resmokeconfig/suites/talk_directly_to_shardsvrs_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/talk_directly_to_shardsvrs_jscore_passthrough.yml
@@ -4,7 +4,7 @@ selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- - src/mongo/db/modules/*/jstests/fle2/*.js
+ - src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# This test expects that the connection (i.e. 'threadName') does not change throughout each test
# case. That is not always true when the test driver use a replica set connection string. As this
diff --git a/jstests/fle2/libs/encrypted_client_util.js b/jstests/fle2/libs/encrypted_client_util.js
index bcbde09b0f2..c080b22d6a7 100644
--- a/jstests/fle2/libs/encrypted_client_util.js
+++ b/jstests/fle2/libs/encrypted_client_util.js
@@ -342,13 +342,6 @@ function runEncryptedTest(db, dbName, collName, encryptedFields, runTestsCallbac
}
/**
- * @returns Returns true if talking to a sharded cluster
- */
-function isFLE2ShardingEnabled() {
- return typeof (testingFLESharding) == "undefined" || testingFLESharding === true;
-}
-
-/**
* @returns Returns true if talking to a replica set
*/
function isFLE2ReplicationEnabled() {