You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/serverless-testing/tests/README.rst
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -10,48 +10,48 @@ Introduction
10
10
============
11
11
12
12
This file describes a subset of existing tests that drivers MUST use to assert
13
-
compatibility with Serverless.
13
+
compatibility with serverless MongoDB.
14
14
15
15
Test Configuration
16
16
==================
17
17
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
20
20
be deleted once the tests have completed, regardless of their outcome. The
21
21
`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``
23
23
contains an example evergreen configuration that uses them to run the tests.
24
24
25
25
.. _serverless directory in the drivers-evergreen-tools repository: https://github.com/mongodb-labs/drivers-evergreen-tools/tree/master/.evergreen/serverless
26
26
27
27
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
29
29
the tests MUST be run with a server API version specified.
30
30
31
31
Required Variables
32
32
~~~~~~~~~~~~~~~~~~
33
33
34
-
Managing the Serverless instances and connecting to them requires a few
34
+
Managing the serverless instances and connecting to them requires a few
35
35
variables to be specified. The variables marked "private" are confidential and
36
36
MUST be specified as private Evergreen variables or used only in private
37
37
Evergreen projects. If using a public Evergreen project, xtrace MUST be disabled
38
38
when using these variables to help prevent accidental leaks.
39
39
40
40
- ``${SERVERLESS_DRIVERS_GROUP}``: Contains the ID of the Atlas group dedicated
41
-
to drivers testing of Serverless.
41
+
to drivers testing of serverless MongoDB.
42
42
43
43
- ``${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.
45
45
46
46
- ``${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.
48
48
49
49
- ``${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
51
51
group.
52
52
53
53
- ``${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
55
55
group.
56
56
57
57
@@ -64,14 +64,14 @@ serverless testing suite, including prose tests:
64
64
- CRUD, including the v1, v2, and unified tests
65
65
66
66
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.
68
68
69
69
Note that the formats for the JSON/YAML tests of these specifications were
70
70
updated to include a new ``runOnRequirement`` specifically for serverless
71
71
testing, so make sure to update the affected test runners to support this
72
72
requirement and then sync the tests.
73
73
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
75
75
against sharded clusters will be executed by the runners, with the exception of
76
76
the tests affected by the previously mentioned ``runOnRequirement``.
77
77
@@ -80,5 +80,5 @@ Other Tests
80
80
81
81
Any other existing tests for cursor behavior that a driver may have implemented
82
82
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
0 commit comments