Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .evergreen/scripts/run-auth-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,21 +173,6 @@ if [[ "${ssl}" != "OFF" ]]; then
"${mongoc_ping:?}" "${atlas_tls12:?}&${c_timeout:?}"
echo "Connecting to Atlas with only TLS 1.2 enabled with SRV"
"${mongoc_ping:?}" "${atlas_tls12_srv:?}${c_timeout:?}"
HAS_CIPHERSUITES_FOR_SERVERLESS="YES"
if [[ "${OSTYPE}" == "cygwin" ]]; then
# Windows Server 2008 hosts do not appear to share TLS 1.2 cipher suites with Atlas Serverless.
WINDOWS_OSNAME="$(systeminfo | grep 'OS Name:' | awk -F ':' '{print $2}')"
if [[ "${WINDOWS_OSNAME}" == *"Windows Server 2008"* ]]; then
echo "Detected Windows Server 2008 ... skipping Atlas Serverless test due to no shared cipher suites."
HAS_CIPHERSUITES_FOR_SERVERLESS="NO"
fi
fi
if [[ "${HAS_CIPHERSUITES_FOR_SERVERLESS}" == "YES" ]]; then
echo "Connecting to Atlas Serverless with SRV"
"${mongoc_ping:?}" "${atlas_serverless_srv:?}/?${c_timeout:?}"
echo "Connecting to Atlas Serverless"
"${mongoc_ping:?}" "${atlas_serverless:?}&${c_timeout:?}"
fi

echo "Connecting to Atlas (cloud-prod) with X509"
"${mongoc_ping:?}" "${atlas_x509:?}&tlsCertificateKeyFile=${atlas_x509_path:?}&${c_timeout:?}"
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ Additional environment variables:
* `MONGOC_TEST_MONITORING_VERBOSE`: set to `on` for verbose output from
Application Performance Monitoring tests.
* `MONGOC_TEST_COMPRESSORS=snappy,zlib`: wire protocol compressors to use
* `MONGOC_TEST_IS_SERVERLESS` (bool): defaults to `false`. Used to indicate
that tests are run against a serverless cluster.

If you start `mongod` with SSL, set these variables to configure how
`test-libmongoc` connects to it:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"replicaset",
"load-balanced",
"sharded"
],
"serverless": "forbid"
]
}
],
"initialData": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"replicaset",
"load-balanced",
"sharded"
],
"serverless": "forbid"
]
}
],
"initialData": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"description": "change-streams-errors",
"schemaVersion": "1.7",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"createEntities": [
{
"client": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"topologies": [
"replicaset",
"sharded"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"replicaset",
"sharded",
"load-balanced"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"replicaset",
"sharded",
"load-balanced"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"replicaset",
"sharded",
"load-balanced"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"topologies": [
"replicaset",
"sharded"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"minServerVersion": "3.6",
"topologies": [
"replicaset"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"runOn": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"topology": [
"replicaset",
"sharded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"sharded",
"load-balanced"
],
"serverless": "forbid",
"csfle": {
"minLibmongocryptVersion": "1.10.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"runOnRequirements": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"csfle": true,
"topologies": [
"replicaset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"runOnRequirements": [
{
"minServerVersion": "7.0.0",
"serverless": "forbid",
"csfle": true,
"topologies": [
"replicaset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "5.3",
"serverless": "forbid"
"minServerVersion": "5.3"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "6.0",
"serverless": "forbid"
"minServerVersion": "6.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "6.0",
"serverless": "forbid"
"minServerVersion": "6.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.7",
"runOnRequirements": [
{
"minServerVersion": "8.0",
"serverless": "forbid"
"minServerVersion": "8.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"minServerVersion": "4.3.1",
"topologies": [
"replicaset"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"minServerVersion": "4.3.1",
"topologies": [
"replicaset"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
3 changes: 1 addition & 2 deletions src/libmongoc/tests/json/crud/unified/aggregate-let.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@
"description": "Aggregate to collection with let option",
"runOnRequirements": [
{
"minServerVersion": "5.0",
"serverless": "forbid"
"minServerVersion": "5.0"
}
],
"operations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"topologies": [
"replicaset",
"sharded"
],
"serverless": "forbid"
]
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@
"description": "Aggregate with $out includes read preference for 5.0+ server",
"runOnRequirements": [
{
"minServerVersion": "5.0",
"serverless": "forbid"
"minServerVersion": "5.0"
}
],
"operations": [
Expand Down Expand Up @@ -161,8 +160,7 @@
"runOnRequirements": [
{
"minServerVersion": "4.2",
"maxServerVersion": "4.4.99",
"serverless": "forbid"
"maxServerVersion": "4.4.99"
}
],
"operations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.21",
"runOnRequirements": [
{
"minServerVersion": "8.0",
"serverless": "forbid"
"minServerVersion": "8.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "8.0",
"serverless": "forbid"
"minServerVersion": "8.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "8.0",
"serverless": "forbid"
"minServerVersion": "8.0"
}
],
"createEntities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"schemaVersion": "1.4",
"runOnRequirements": [
{
"minServerVersion": "8.0",
"serverless": "forbid"
"minServerVersion": "8.0"
}
],
"createEntities": [
Expand Down
Loading