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
The test suite references the following environment variables:
57
+
58
+
*`MONGODB_DATABASE`: Default database to use in tests. Defaults to
59
+
`phplib_test`.
60
+
*`MONGODB_PASSWORD`: If specified, this value will be appended as the
61
+
`password` URI option for clients constructed by the test suite, which will
62
+
override any credentials in the connection string itself.
63
+
*`MONGODB_URI`: Connection string. Defaults to `mongodb://127.0.0.1/`, which
64
+
assumes a MongoDB server is listening on localhost port 27017.
65
+
*`MONGODB_USERNAME`: If specified, this value will be appended as the
66
+
`username` URI option for clients constructed by the test suite, which will
67
+
override any credentials in the connection string itself.
68
+
69
+
The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.rst):
70
+
71
+
*`API_VERSION`: If defined, this value will be used to construct a
which will then be specified as the `serverApi` driver option for clients
74
+
created by the test suite.
75
+
76
+
The following environment variable is used for [serverless testing](https://github.com/mongodb/specifications/blob/master/source/serverless-testing/README.rst):
77
+
78
+
*`MONGODB_IS_SERVERLESS`: Specify a true boolean string
if `MONGODB_URI` points to a serverless instance. Defaults to false.
81
+
82
+
The following environment variables are used for [load balancer testing](https://github.com/mongodb/specifications/blob/master/source/load-balancers/tests/README.rst):
83
+
84
+
*`MONGODB_SINGLE_MONGOS_LB_URI`: Connection string to a load balancer backed
85
+
by a single mongos host.
86
+
*`MONGODB_MULTI_MONGOS_LB_URI`: Connection string to a load balancer backed by
87
+
multiple mongos hosts.
88
+
89
+
The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst):
90
+
91
+
*`AWS_ACCESS_KEY_ID`
92
+
*`AWS_SECRET_ACCESS_KEY`
93
+
*`AZURE_TENANT_ID`
94
+
*`AZURE_CLIENT_ID`
95
+
*`AZURE_CLIENT_SECRET`
96
+
*`CRYPT_SHARED_LIB_PATH`: If defined, this value will be used to set the
97
+
`cryptSharedLibPath` autoEncryption driver option for clients created by the
98
+
test suite.
99
+
*`GCP_EMAIL`
100
+
*`GCP_PRIVATE_KEY`
101
+
*`KMIP_ENDPOINT`
102
+
*`KMS_ENDPOINT_EXPIRED`
103
+
*`KMS_ENDPOINT_WRONG_HOST`
104
+
*`KMS_ENDPOINT_REQUIRE_CLIENT_CERT`
105
+
*`KMS_TLS_CA_FILE`
106
+
*`KMS_TLS_CERTIFICATE_KEY_FILE`
107
+
54
108
## Checking coding standards
55
109
56
110
The library's code is checked using [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer),
@@ -243,4 +297,3 @@ projects:
243
297
244
298
These tasks can be initiated prior to tagging a new release to ensure that the
245
299
updated content becomes accessible soon after the release is published.
0 commit comments