mongo 2.20.0 → 2.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +37 -1
- data/Rakefile +57 -21
- data/lib/mongo/config.rb +2 -2
- data/lib/mongo/retryable/base_worker.rb +28 -3
- data/lib/mongo/retryable/read_worker.rb +9 -8
- data/lib/mongo/retryable/write_worker.rb +4 -4
- data/lib/mongo/server/pending_connection.rb +19 -6
- data/lib/mongo/socket/ssl.rb +35 -5
- data/lib/mongo/version.rb +3 -18
- data/mongo.gemspec +8 -11
- data/spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb +3 -0
- data/spec/integration/ocsp_verifier_spec.rb +30 -99
- data/spec/integration/reconnect_spec.rb +8 -2
- data/spec/integration/retryable_reads_errors_spec.rb +35 -23
- data/spec/integration/sdam_error_handling_spec.rb +2 -0
- data/spec/integration/srv_monitoring_spec.rb +2 -3
- data/spec/integration/srv_spec.rb +0 -4
- data/spec/lite_spec_helper.rb +0 -10
- data/spec/mongo/collection_crud_spec.rb +1 -0
- data/spec/mongo/server/connection_spec.rb +22 -0
- data/spec/shared/CANDIDATE.md +28 -0
- data/spec/shared/lib/mrss/docker_runner.rb +1 -1
- data/spec/shared/lib/mrss/release/candidate.rb +281 -0
- data/spec/shared/lib/mrss/release/product_data.rb +144 -0
- data/spec/shared/lib/mrss/server_version_registry.rb +1 -1
- data/spec/shared/lib/tasks/candidate.rake +64 -0
- data/spec/shared/share/Dockerfile.erb +4 -34
- data/spec/shared/shlib/distro.sh +10 -0
- data/spec/shared/shlib/server.sh +33 -27
- data/spec/shared/shlib/set_env.sh +6 -42
- data/spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml +2 -1
- data/spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/transactions_unified_spec.rb +2 -1
- data/spec/support/certificates/atlas-ocsp-ca.crt +89 -77
- data/spec/support/certificates/atlas-ocsp.crt +117 -122
- data/spec/support/certificates/retrieve-atlas-cert +1 -1
- data/spec/support/common_shortcuts.rb +19 -37
- data/spec/support/constraints.rb +10 -0
- metadata +24 -47
- checksums.yaml.gz.sig +0 -0
- data/spec/support/dns.rb +0 -16
- data/spec/support/faas/app/aws_lambda/mongodb/Gemfile.lock +0 -19
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
data/spec/shared/shlib/server.sh
CHANGED
@@ -35,38 +35,34 @@ add_uri_option() {
|
|
35
35
|
}
|
36
36
|
|
37
37
|
prepare_server() {
|
38
|
-
arch=$1
|
39
|
-
|
40
38
|
if test -n "$USE_OPT_MONGODB"; then
|
41
39
|
export BINDIR=/opt/mongodb/bin
|
42
40
|
export PATH=$BINDIR:$PATH
|
43
41
|
return
|
44
42
|
fi
|
45
43
|
|
46
|
-
|
47
|
-
# Test on the most recent published 4.3 release.
|
48
|
-
# https://jira.mongodb.org/browse/RUBY-1724
|
44
|
+
. $PROJECT_DIRECTORY/.mod/drivers-evergreen-tools/.evergreen/download-mongodb.sh
|
49
45
|
|
50
|
-
|
51
|
-
|
52
|
-
get_distro
|
53
|
-
get_mongodb_download_url_for "$DISTRO" "latest"
|
54
|
-
prepare_server_from_url $MONGODB_DOWNLOAD_URL
|
55
|
-
else
|
56
|
-
download_version="$MONGODB_VERSION"
|
57
|
-
url=`$(dirname $0)/get-mongodb-download-url $download_version $arch`
|
58
|
-
prepare_server_from_url $url
|
59
|
-
fi
|
46
|
+
get_distro
|
47
|
+
arch="${1:-$DISTRO}"
|
60
48
|
|
49
|
+
get_mongodb_download_url_for "$arch" "$MONGODB_VERSION"
|
50
|
+
prepare_server_from_url "$MONGODB_DOWNLOAD_URL" "$MONGOSH_DOWNLOAD_URL"
|
61
51
|
}
|
62
52
|
|
63
53
|
prepare_server_from_url() {
|
64
|
-
|
54
|
+
server_url=$1
|
55
|
+
mongosh_url=$2
|
65
56
|
|
66
|
-
dirname=`basename $
|
57
|
+
dirname=`basename $server_url |sed -e s/.tgz//`
|
67
58
|
mongodb_dir="$MONGO_ORCHESTRATION_HOME"/mdb/"$dirname"
|
68
59
|
mkdir -p "$mongodb_dir"
|
69
|
-
curl --retry 3 $
|
60
|
+
curl --retry 3 $server_url | tar xz -C "$mongodb_dir" --strip-components 1 -f -
|
61
|
+
|
62
|
+
if test -n "$mongosh_url"; then
|
63
|
+
curl --retry 3 $mongosh_url | tar xz -C "$mongodb_dir" --strip-components 1 -f -
|
64
|
+
fi
|
65
|
+
|
70
66
|
BINDIR="$mongodb_dir"/bin
|
71
67
|
export PATH="$BINDIR":$PATH
|
72
68
|
}
|
@@ -82,7 +78,7 @@ install_mlaunch_venv() {
|
|
82
78
|
# Debian11/Ubuntu2204 have venv installed, but it is nonfunctional unless
|
83
79
|
# the python3-venv package is also installed (it lacks the ensurepip
|
84
80
|
# module).
|
85
|
-
sudo apt-get install --yes python3-venv
|
81
|
+
sudo apt-get update && sudo apt-get install --yes python3-venv
|
86
82
|
fi
|
87
83
|
if test "$USE_SYSTEM_PYTHON_PACKAGES" = 1 &&
|
88
84
|
python3 -m pip list |grep mtools
|
@@ -170,13 +166,26 @@ install_mlaunch_git() {
|
|
170
166
|
fi
|
171
167
|
}
|
172
168
|
|
169
|
+
install_haproxy() {
|
170
|
+
if ! command -v haproxy &> /dev/null; then
|
171
|
+
if ! command -v apt-get &> /dev/null; then
|
172
|
+
# no apt-get; assume RHEL
|
173
|
+
sudo yum -y install haproxy
|
174
|
+
else
|
175
|
+
sudo apt-get update && sudo apt-get install --yes haproxy
|
176
|
+
fi
|
177
|
+
else
|
178
|
+
echo 'haproxy is present'
|
179
|
+
fi
|
180
|
+
}
|
181
|
+
|
173
182
|
install_cmake() {
|
174
183
|
if ! command -v cmake &> /dev/null; then
|
175
184
|
if ! command -v apt-get &> /dev/null; then
|
176
185
|
# no apt-get; assume RHEL
|
177
186
|
sudo yum -y install cmake libarchive
|
178
187
|
else
|
179
|
-
sudo apt-get install --yes cmake
|
188
|
+
sudo apt-get update && sudo apt-get install --yes cmake
|
180
189
|
fi
|
181
190
|
else
|
182
191
|
echo 'cmake is present'
|
@@ -209,17 +218,14 @@ calculate_server_args() {
|
|
209
218
|
args="$args --setParameter acceptAPIVersion2=1"
|
210
219
|
fi
|
211
220
|
|
212
|
-
|
213
|
-
|
214
|
-
# https://github.com/rueckstiess/mtools/issues/696
|
215
|
-
# Pass it to 3.4 and newer servers where it is accepted by all daemons.
|
216
|
-
if test $mongo_version -ge 34; then
|
217
|
-
args="$args --setParameter diagnosticDataCollectionEnabled=false"
|
218
|
-
fi
|
221
|
+
args="$args --setParameter diagnosticDataCollectionEnabled=false"
|
222
|
+
|
219
223
|
local uri_options=
|
220
224
|
if test "$TOPOLOGY" = replica-set; then
|
221
225
|
args="$args --replicaset --name test-rs --nodes 2 --arbiter"
|
222
226
|
export HAVE_ARBITER=1
|
227
|
+
elif test "$TOPOLOGY" = replica-set-single-node; then
|
228
|
+
args="$args --replicaset --name test-rs --nodes 1"
|
223
229
|
elif test "$TOPOLOGY" = sharded-cluster; then
|
224
230
|
args="$args --replicaset --nodes 2 --sharded 1 --name test-rs"
|
225
231
|
if test -z "$SINGLE_MONGOS"; then
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# When changing, also update the hash in share/Dockerfile.
|
2
|
-
|
3
|
-
JDK_VERSION=jdk17
|
2
|
+
JDK_VERSION=jdk21
|
4
3
|
|
5
4
|
set_env_java() {
|
6
5
|
ls -l /opt || true
|
@@ -90,34 +89,13 @@ set_env_ruby() {
|
|
90
89
|
if test "$USE_OPT_TOOLCHAIN" = 1; then
|
91
90
|
# Nothing, also PATH is already set
|
92
91
|
:
|
93
|
-
elif true; then
|
94
|
-
|
95
|
-
# For testing toolchains:
|
96
|
-
#toolchain_url=https://s3.amazonaws.com//mciuploads/mongo-ruby-toolchain/`host_distro`/f11598d091441ffc8d746aacfdc6c26741a3e629/mongo_ruby_driver_toolchain_`host_distro |tr - _`_patch_f11598d091441ffc8d746aacfdc6c26741a3e629_5e46f2793e8e866f36eda2c5_20_02_14_19_18_18.tar.gz
|
97
|
-
toolchain_url=http://boxes.10gen.com/build/toolchain-drivers/mongo-ruby-driver/$TOOLCHAIN_VERSION/`host_distro`/$RVM_RUBY.tar.xz
|
98
|
-
curl --retry 3 -fL $toolchain_url |tar Jxf -
|
99
|
-
export PATH=`pwd`/rubies/$RVM_RUBY/bin:$PATH
|
100
|
-
#export PATH=`pwd`/rubies/python/3/bin:$PATH
|
101
|
-
|
102
|
-
# Attempt to get bundler to report all errors - so far unsuccessful
|
103
|
-
#curl --retry 3 -o bundler-openssl.diff https://github.com/bundler/bundler/compare/v2.0.1...p-mongo:report-errors.diff
|
104
|
-
#find . -path \*/lib/bundler/fetcher.rb -exec patch {} bundler-openssl.diff \;
|
105
|
-
|
106
92
|
else
|
93
|
+
# For testing unpublished builds:
|
94
|
+
#build_url=https://s3.amazonaws.com/mciuploads/mongo-ruby-toolchain/library/`host_distro`/$RVM_RUBY.tar.xz
|
107
95
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
echo "Contents of /opt:" 1>&2
|
112
|
-
ls -l /opt 1>&2 || true
|
113
|
-
echo ".rubies symlink:" 1>&2
|
114
|
-
ls -ld $HOME/.rubies 1>&2 || true
|
115
|
-
echo "Our rubies:" 1>&2
|
116
|
-
ls -l $HOME/.rubies 1>&2 || true
|
117
|
-
exit 2
|
118
|
-
fi
|
119
|
-
export PATH=$HOME/.rubies/$RVM_RUBY/bin:$PATH
|
120
|
-
|
96
|
+
build_url=http://boxes.10gen.com/build/toolchain-drivers/mongo-ruby-toolchain/library/`host_distro`/$RVM_RUBY.tar.xz
|
97
|
+
curl --retry 3 -fL $build_url |tar Jxf -
|
98
|
+
export PATH=`pwd`/rubies/$RVM_RUBY/bin:$PATH
|
121
99
|
fi
|
122
100
|
|
123
101
|
ruby --version
|
@@ -128,19 +106,5 @@ set_env_ruby() {
|
|
128
106
|
|
129
107
|
ruby -v |fgrep $ruby_name
|
130
108
|
ruby -v |fgrep $ruby_version
|
131
|
-
|
132
|
-
# We shouldn't need to update rubygems, and there is value in
|
133
|
-
# testing on whatever rubygems came with each supported ruby version
|
134
|
-
#echo 'updating rubygems'
|
135
|
-
#gem update --system
|
136
|
-
|
137
|
-
# Only install bundler when not using ruby-head.
|
138
|
-
# ruby-head comes with bundler and gem complains
|
139
|
-
# because installing bundler would overwrite the bundler binary.
|
140
|
-
# We now install bundler in the toolchain, hence nothing needs to be done
|
141
|
-
# in the tests.
|
142
|
-
if false && echo "$RVM_RUBY" |grep -q jruby; then
|
143
|
-
gem install bundler -v '<2'
|
144
|
-
fi
|
145
109
|
fi
|
146
110
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
2
2
|
runOn:
|
3
3
|
- minServerVersion: "7.0.0"
|
4
|
+
maxServerVersion: "7.99.99"
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
5
5
|
runOn:
|
6
6
|
- minServerVersion: "7.0.0"
|
7
|
+
maxServerVersion: "7.99.99"
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
3
3
|
runOn:
|
4
4
|
- minServerVersion: "7.0.0"
|
5
|
+
maxServerVersion: "7.99.99"
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|