Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ The test suite references the following environment variables:
[drivers-evergreen-tools](https://github.com/mongodb-labs/drivers-evergreen-tools).
If undefined or inaccessible, tests requiring certificates will be skipped.

The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.rst):
The following environment variable is used for [stable API testing](https://github.com/mongodb/specifications/blob/master/source/versioned-api/tests/README.md):

* `API_VERSION`: If defined, this value will be used to construct a
[`MongoDB\Driver\ServerApi`](https://www.php.net/manual/en/mongodb-driver-serverapi.construct.php),
which will then be specified as the `serverApi` driver option for
[`MongoDB\Driver\Manager`](https://www.php.net/manual/en/class.mongodb-driver-manager.php)
objects created by the test suite.

The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst):
The following environment variables are used for [CSFLE testing](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.md):

* `CRYPT_SHARED_LIB_PATH`: If defined, this value will be used to set the
`cryptSharedLibPath` autoEncryption driver option for
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: new session has no operation time
--DESCRIPTION--
Causal consistency spec prose test #1
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: first read in session does not include afterClusterTime
--DESCRIPTION--
Causal consistency spec prose test #2
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: first read or write in session updates operationTime
--DESCRIPTION--
Causal consistency spec prose test #3
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: first read or write in session updates operationTime (even on error)
--DESCRIPTION--
Causal consistency spec prose test #3
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: second read's afterClusterTime uses last reply's operationTime
--DESCRIPTION--
Causal consistency spec prose test #4 and #5
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: second read's afterClusterTime uses last reply's operationTime (even on error)
--DESCRIPTION--
Causal consistency spec prose test #4 and #5
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: reads in non-causally consistent session never include afterClusterTime
--DESCRIPTION--
Causal consistency spec prose test #6
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-008.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: reads in causally consistent session never include afterClusterTime for unsupported deployment
--DESCRIPTION--
Causal consistency spec prose test #7
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-009.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: default read concern includes afterClusterTime but not level
--DESCRIPTION--
Causal consistency spec prose test #8
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-010.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: custom read concern merges afterClusterTime and level
--DESCRIPTION--
Causal consistency spec prose test #9
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-011.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: $clusterTime is not sent in commands to unsupported deployments
--DESCRIPTION--
Causal consistency spec prose test #11
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/causal-consistency/causal-consistency-012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Causal consistency: $clusterTime is sent in commands to supported deployments
--DESCRIPTION--
Causal consistency spec prose test #12
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.rst#test-plan
https://github.com/mongodb/specifications/blob/master/source/causal-consistency/causal-consistency.md#test-plan
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/manager/manager-startSession_error-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\Manager::startSession() snapshot and causalConsistency cannot both be true
--DESCRIPTION--
Session spec prose test #1: Setting both snapshot and causalConsistency to true is not allowed
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#1-setting-both-snapshot-and-causalconsistency-to-true-is-not-allowed
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/session/session-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\Session spec test: Pool is LIFO
--DESCRIPTION--
Session spec prose test #2: Pool is LIFO
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#pool-is-lifo
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#2-pool-is-lifo
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/session/session-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\Session spec test: $clusterTime in commands
--DESCRIPTION--
Session spec prose test #3: $clusterTime in commands
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#clustertime-in-commands
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#3-clustertime-in-commands
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/session/session-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\Session spec test: session cannot be used for different clients
--DESCRIPTION--
Session spec prose test #5: Session argument is for the right client
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.rst#session-argument-is-for-the-right-client
https://github.com/mongodb/specifications/blob/master/source/sessions/tests/README.md#5-session-argument-is-for-the-right-client
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\WriteConcernError::getInfo() exposes writeConcernError.errInfo
--DESCRIPTION--
CRUD spec prose test #1
https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.rst#writeconcernerror-details-exposes-writeconcernerror-errinfo
https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#1-writeconcernerrordetails-exposes-writeconcernerrorerrinfo
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_replica_set(); ?>
Expand Down
2 changes: 1 addition & 1 deletion tests/writeError/writeerror-getInfo-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MongoDB\Driver\WriteError::getInfo() exposes writeError.errInfo
--DESCRIPTION--
CRUD spec prose test #2
https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.rst#writeerror-details-exposes-writeerrors-errinfo
https://github.com/mongodb/specifications/blob/master/source/crud/tests/README.md#2-writeerrordetails-exposes-writeerrorserrinfo
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_server_version('<', '5.0'); ?>
Expand Down