diff options
author | Erwin Pe <erwin.pe@mongodb.com> | 2022-06-29 20:13:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-29 21:39:48 +0000 |
commit | 0ec1b5585d2ec95ff73c241213d43b0b713372e4 (patch) | |
tree | 9d62330547e0dab5c18150058f70f925cd774a64 | |
parent | b119706b485aa6bd089c72c700e46fa291be3bd5 (diff) | |
download | mongo-0ec1b5585d2ec95ff73c241213d43b0b713372e4.tar.gz |
SERVER-66940 Create an FSM test for FLE2 compact
5 files changed, 7 insertions, 3 deletions
diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml index 5dd83068144..b8aa1b000ae 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_kill_primary_with_balancer.yml @@ -3,6 +3,7 @@ test_kind: fsm_workload_test selector: roots: - jstests/concurrency/fsm_workloads/**/*.js + - src/mongo/db/modules/*/jstests/concurrency/fsm_workloads/*.js exclude_files: # SERVER-13116 distinct isn't sharding aware - jstests/concurrency/fsm_workloads/distinct.js diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml index a52256fd970..440c032b4e9 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_terminate_primary_with_balancer.yml @@ -3,6 +3,7 @@ test_kind: fsm_workload_test selector: roots: - jstests/concurrency/fsm_workloads/**/*.js + - src/mongo/db/modules/*/jstests/concurrency/fsm_workloads/*.js exclude_files: # SERVER-13116 distinct isn't sharding aware - jstests/concurrency/fsm_workloads/distinct.js diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml index 49a119dca0a..0d1c7109955 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns.yml @@ -3,6 +3,7 @@ test_kind: fsm_workload_test selector: roots: - jstests/concurrency/fsm_workloads/**/*.js + - src/mongo/db/modules/*/jstests/concurrency/fsm_workloads/*.js exclude_files: # SERVER-13116 distinct isn't sharding aware - jstests/concurrency/fsm_workloads/distinct.js diff --git a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml index 7cda86048ff..9af5944d8ad 100644 --- a/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml +++ b/buildscripts/resmokeconfig/suites/concurrency_sharded_with_stepdowns_and_balancer.yml @@ -3,6 +3,7 @@ test_kind: fsm_workload_test selector: roots: - jstests/concurrency/fsm_workloads/**/*.js + - src/mongo/db/modules/*/jstests/concurrency/fsm_workloads/*.js exclude_files: # SERVER-13116 distinct isn't sharding aware - jstests/concurrency/fsm_workloads/distinct.js diff --git a/jstests/fle2/libs/encrypted_client_util.js b/jstests/fle2/libs/encrypted_client_util.js index e17fd152813..b10c2f606a3 100644 --- a/jstests/fle2/libs/encrypted_client_util.js +++ b/jstests/fle2/libs/encrypted_client_util.js @@ -4,9 +4,9 @@ load("jstests/concurrency/fsm_workload_helpers/server_types.js"); // For isMong * Create a FLE client that has an unencrypted and encrypted client to the same database */ -const kSafeContentField = "__safeContent__"; +var kSafeContentField = "__safeContent__"; -class EncryptedClient { +var EncryptedClient = class { /** * Create a new encrypted FLE connection to the target server with a local KMS * @@ -318,7 +318,7 @@ class EncryptedClient { assert.eq(info.length, checkMap[coll], msg); }); } -} +}; function runEncryptedTest(db, dbName, collName, encryptedFields, runTestsCallback) { const dbTest = db.getSiblingDB(dbName); |