Skip to content

Commit fc7fc7a

Browse files
committed
lowercase serverless
1 parent fa0be10 commit fc7fc7a

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

source/crud/tests/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ Each YAML file has the following keys:
6262
``["single", "replicaset", "sharded"]``).
6363

6464
- ``serverless``: (optional) Whether or not the test should be run on
65-
Serverless instances imitating sharded clusters. Valid values are "require",
66-
"forbid", and "allow". If "require", the test MUST only be run on Serverless
65+
serverless instances imitating sharded clusters. Valid values are "require",
66+
"forbid", and "allow". If "require", the test MUST only be run on serverless
6767
instances. If "forbid", the test MUST only be run on actual sharded
68-
deployments. If omitted or "allow", the test can be run on either Serverless
68+
deployments. If omitted or "allow", the test can be run on either serverless
6969
instances or on real sharded deployments.
7070

7171
- ``collection_name`` (optional): The collection to use for testing.

source/serverless-testing/tests/README.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,48 +10,48 @@ Introduction
1010
============
1111

1212
This file describes a subset of existing tests that drivers MUST use to assert
13-
compatibility with Serverless.
13+
compatibility with serverless MongoDB.
1414

1515
Test Configuration
1616
==================
1717

18-
These tests MUST be run against a live Serverless instance on Atlas. A new
19-
Serverless instance MUST be created each time the test suite is run, and it MUST
18+
These tests MUST be run against a live serverless instance on Atlas. A new
19+
serverless instance MUST be created each time the test suite is run, and it MUST
2020
be deleted once the tests have completed, regardless of their outcome. The
2121
`serverless directory in the drivers-evergreen-tools repository`_ contains
22-
scripts for creating and deleting Serverless instances, and the ``config.yml``
22+
scripts for creating and deleting serverless instances, and the ``config.yml``
2323
contains an example evergreen configuration that uses them to run the tests.
2424

2525
.. _serverless directory in the drivers-evergreen-tools repository: https://github.com/mongodb-labs/drivers-evergreen-tools/tree/master/.evergreen/serverless
2626

2727
All tests MUST be run with wire protocol compression and authentication
28-
enabled. Additionally, Serverless requires the usage of the versioned API, so
28+
enabled. Additionally, serverless requires the usage of the versioned API, so
2929
the tests MUST be run with a server API version specified.
3030

3131
Required Variables
3232
~~~~~~~~~~~~~~~~~~
3333

34-
Managing the Serverless instances and connecting to them requires a few
34+
Managing the serverless instances and connecting to them requires a few
3535
variables to be specified. The variables marked "private" are confidential and
3636
MUST be specified as private Evergreen variables or used only in private
3737
Evergreen projects. If using a public Evergreen project, xtrace MUST be disabled
3838
when using these variables to help prevent accidental leaks.
3939

4040
- ``${SERVERLESS_DRIVERS_GROUP}``: Contains the ID of the Atlas group dedicated
41-
to drivers testing of Serverless.
41+
to drivers testing of serverless MongoDB.
4242

4343
- ``${SERVERLESS_API_PUBLIC_KEY}``: The public key required to use the Atlas API
44-
for provisioning of Serverless instances.
44+
for provisioning of serverless instances.
4545

4646
- ``${SERVERLESS_API_PRIVATE_KEY}``: (private) The private key required to use
47-
the Atlas API for provisioning of Serverless instances.
47+
the Atlas API for provisioning of serverless instances.
4848

4949
- ``${SERVERLESS_ATLAS_USER}``: (private) The SCRAM username used to
50-
authenticate to any Serverless instance created in the drivers testing Atlas
50+
authenticate to any serverless instance created in the drivers testing Atlas
5151
group.
5252

5353
- ``${SERVERLESS_ATLAS_PASSWORD}``: (private) The SCRAM password used to
54-
authenticate to any Serverless instance created in the drivers testing Atlas
54+
authenticate to any serverless instance created in the drivers testing Atlas
5555
group.
5656

5757

@@ -64,14 +64,14 @@ serverless testing suite, including prose tests:
6464
- CRUD, including the v1, v2, and unified tests
6565

6666
In the future, this list will be expanded to include a greater portion of the
67-
tests once the Serverless proxy has more robust failCommand support.
67+
tests once the serverless proxy has more robust failCommand support.
6868

6969
Note that the formats for the JSON/YAML tests of these specifications were
7070
updated to include a new ``runOnRequirement`` specifically for serverless
7171
testing, so make sure to update the affected test runners to support this
7272
requirement and then sync the tests.
7373

74-
The Serverless proxy presents itself as a mongos, so any test meant to run
74+
The serverless proxy presents itself as a mongos, so any test meant to run
7575
against sharded clusters will be executed by the runners, with the exception of
7676
the tests affected by the previously mentioned ``runOnRequirement``.
7777

@@ -80,5 +80,5 @@ Other Tests
8080

8181
Any other existing tests for cursor behavior that a driver may have implemented
8282
independently of any spec requirements SHOULD also be included in the driver's
83-
Serverless testing suite. Note that ChangeStreams are not supported by the
83+
serverless testing suite. Note that ChangeStreams are not supported by the
8484
proxy, so tests for them cannot be included.

source/unified-test-format/unified-test-format.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,10 @@ The structure of this object is as follows:
370370
"sharded" implies "sharded-replicaset", but not vice versa).
371371

372372
- ``serverless``: Optional string. Whether or not the test should be run on
373-
Serverless instances imitating sharded clusters. Valid values are "require",
374-
"forbid", and "allow". If "require", the test MUST only be run on Serverless
373+
serverless instances imitating sharded clusters. Valid values are "require",
374+
"forbid", and "allow". If "require", the test MUST only be run on serverless
375375
instances. If "forbid", the test MUST only be run on actual sharded
376-
deployments. If omitted or "allow", the test can be run on either Serverless
376+
deployments. If omitted or "allow", the test can be run on either serverless
377377
instances or on real sharded deployments.
378378

379379
- ``serverParameters``: Optional object of server parameters to check against.

0 commit comments

Comments
 (0)