@@ -337,9 +337,10 @@ The structure of this object is as follows:
337
337
Note : load balancers were introduced in MongoDB 5.0. Therefore, any sharded cluster behind a load balancer implicitly
338
338
uses replica sets for its shards.
339
339
340
- - `serverless` : Optional string. Whether or not the test should be run on Atlas Serverless instances. Valid values are
341
- " require" , "forbid", and "allow". If "require", the test MUST only be run on Atlas Serverless instances. If
342
- " forbid" , the test MUST NOT be run on Atlas Serverless instances. If omitted or "allow", this option has no effect.
340
+ - `serverless` (deprecated) : Optional string. Whether or not the test should be run on Atlas Serverless instances. Valid
341
+ values are "require", "forbid", and "allow". If "require", the test MUST only be run on Atlas Serverless instances.
342
+ If "forbid", the test MUST NOT be run on Atlas Serverless instances. If omitted or "allow", this option has no
343
+ effect.
343
344
344
345
The test runner MUST be informed whether or not Atlas Serverless is being used in order to determine if this
345
346
requirement is met (e.g. through an environment variable or configuration option).
@@ -348,6 +349,9 @@ The structure of this object is as follows:
348
349
is in use by issuing commands such as `buildInfo` or `hello`. Furthermore, connections to Atlas Serverless use a
349
350
load balancer, so the topology will appear as "load-balanced".
350
351
352
+ Note : serverless testing is no longer required, and drivers that no longer support serverless testing MAY omit
353
+ implementation of this requirement and instantly skip all tests that use `serverless : require`.
354
+
351
355
- `serverParameters` : Optional object of server parameters to check against. To check server parameters, drivers send a
352
356
`{ getParameter : 1, <parameter>: 1 }` command to the server using an internal MongoClient. Drivers MAY also choose
353
357
to send a `{ getParameter : ' *' }` command and fetch all parameters at once. The result SHOULD be cached to avoid
@@ -3579,6 +3583,8 @@ other specs *and* collating spec changes developed in parallel or during the sam
3579
3583
3580
3584
# # Changelog
3581
3585
3586
+ - 2025-06-04 : Deprecate the `serverless` runOnRequirement
3587
+
3582
3588
- 2025-04-25 : Drop `_enxcol` collections.
3583
3589
3584
3590
- 2025-04-07 : Add `topologyOpeningEvent` and `topologyClosedEvent` to the unified test format and schema 1.20+ as they
0 commit comments