Skip to content

Commit 144c84d

Browse files
committed
Remove serverless testing requirements
1 parent f4c0bbd commit 144c84d

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Please complete the following before merging:
44

55
- [ ] Update changelog.
66
- [ ] Test changes in at least one language driver.
7-
- [ ] Test these changes against all server versions and topologies (including standalone, replica set, sharded
8-
clusters, and serverless).
7+
- [ ] Test these changes against all server versions and topologies (including standalone, replica set, and
8+
- sharded clusters).
99

1010
<!-- See also: https://wiki.corp.mongodb.com/pages/viewpage.action?pageId=80806719 -->

source/serverless-testing/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Atlas Serverless Tests
22

3-
- Status: Accepted
3+
- Status: Obsolete
44
- Minimum Server Version: N/A
55

66
______________________________________________________________________
77

8+
## Obsolescence Notice
9+
10+
This document is obsolete and there is no longer a requirement for drivers to
11+
test against Atlas Serverless. The specification is preserved for historical
12+
purposes only.
13+
814
## Introduction
915

1016
This file describes a subset of existing tests that drivers MUST use to assert compatibility with Atlas Serverless.

source/unified-test-format/unified-test-format.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ The structure of this object is as follows:
337337
Note: load balancers were introduced in MongoDB 5.0. Therefore, any sharded cluster behind a load balancer implicitly
338338
uses replica sets for its shards.
339339

340-
- `serverless`: Optional string. Whether or not the test should be run on Atlas Serverless instances. Valid values are
340+
- `serverless` (deprecated): Optional string. Whether or not the test should be run on Atlas Serverless instances. Valid values are
341341
"require", "forbid", and "allow". If "require", the test MUST only be run on Atlas Serverless instances. If
342342
"forbid", the test MUST NOT be run on Atlas Serverless instances. If omitted or "allow", this option has no effect.
343343

@@ -348,6 +348,9 @@ The structure of this object is as follows:
348348
is in use by issuing commands such as `buildInfo` or `hello`. Furthermore, connections to Atlas Serverless use a
349349
load balancer, so the topology will appear as "load-balanced".
350350

351+
Note: serverless testing is no longer required, and drivers that no longer support serverless testing MAY omit implementation
352+
of this requirement and instantly skip all tests that use `serverless: require`.
353+
351354
- `serverParameters`: Optional object of server parameters to check against. To check server parameters, drivers send a
352355
`{ getParameter: 1, <parameter>: 1 }` command to the server using an internal MongoClient. Drivers MAY also choose
353356
to send a `{ getParameter: '*' }` command and fetch all parameters at once. The result SHOULD be cached to avoid
@@ -3580,6 +3583,8 @@ other specs *and* collating spec changes developed in parallel or during the sam
35803583

35813584
## Changelog
35823585

3586+
- 2025-06-04: Deprecate the `serverless` runOnRequirement
3587+
35833588
- 2025-04-25: Drop `_enxcol` collections.
35843589

35853590
- 2025-04-07: Add `topologyOpeningEvent` and `topologyClosedEvent` to the unified test format and schema 1.20+ as they

0 commit comments

Comments
 (0)