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
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: new session has no operation time
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: first read in session does not include afterClusterTime
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: first read or write in session updates operationTime
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: first read or write in session updates operationTime (even on error)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: second read's afterClusterTime uses last reply's operationTime
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: second read's afterClusterTime uses last reply's operationTime (even on error)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: reads in non-causally consistent session never include afterClusterTime
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-008.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: default read concern includes afterClusterTime but not level
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-009.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: custom read concern merges afterClusterTime and level
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-010.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: unacknowledged write does not update operationTime
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-011.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: $clusterTime is not sent in commands to unsupported deployments
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/causal-consistency/causal-consistency-012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Causal consistency: $clusterTime is sent in commands to supported deployments
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/bug0720.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
PHPC-720: Do not persist SSL streams to avoid SSL reinitialization errors
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/bug1045.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
PHPC-1045: Segfault if username is not provided for SCRAM-SHA-1 authMechanism
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE'); CLEANUP(STANDALONE); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-plain-0002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with using PLAIN auth mechanism #002
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_PLAIN'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-no_verify-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and no host/cert verification
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-no_verify-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and no host/cert verification (context options)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-verify_cert-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and cert verification
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-verify_cert-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and cert verification (context options)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-verify_cert-error-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and cert verification error
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-ssl-verify_cert-error-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and cert verification error (context options)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-x509-auth-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and X509 auth
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_X509'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-x509-auth-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Connect to MongoDB with SSL and X509 auth (stream context)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_X509'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/connect/standalone-x509-error-0001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
X509 connection should not reuse previous stream after an auth failure
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_X509'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/manager/bug0572.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
PHPC-572: Ensure stream context does not go out of scope before socket init
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
3 changes: 3 additions & 0 deletions tests/manager/manager-ctor-ssl-001.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
--TEST--
MongoDB\Driver\Manager::__construct(): ssl option does not require driverOptions
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
--FILE--
<?php

Expand Down
1 change: 1 addition & 0 deletions tests/manager/manager-set-uri-options-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Manager: Logging into MongoDB using credentials from $options
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_SSL(); ?>
<?php NEEDS('STANDALONE_SSL'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/retryable-writes/retryable-writes-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Retryable writes: supported single-statement operations include transaction IDs
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/retryable-writes/retryable-writes-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Retryable writes: supported multi-statement operations include transaction IDs
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/retryable-writes/retryable-writes-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Retryable writes: unsupported operations do not include transaction IDs
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/retryable-writes/retryable-writes-004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Retryable writes: unacknowledged write operations do not include transaction IDs
Depends on CDRIVER-2432
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/retryable-writes/retryable-writes-005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Retryable writes: non-write command methods do not include transaction IDs
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session spec test: Pool is LIFO
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session spec test: $clusterTime in commands
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); CLEANUP(REPLICASET); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session spec test: session cannot be used for different clients
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); CLEANUP(STANDALONE); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-advanceClusterTime-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::advanceClusterTime()
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-advanceOperationTime-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::advanceOperationTime()
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-advanceOperationTime-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::advanceOperationTime() with Timestamp
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-advanceOperationTime-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::advanceOperationTime() with TimestampInterface
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-advanceOperationTime_error-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::advanceOperationTime() with TimestampInterface exceptions
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-debug-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session debug output (before an operation)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-debug-002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session debug output (after an operation)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-debug-003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session debug output (causalConsistency=false)
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-getClusterTime-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::getClusterTime()
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-getLogicalSessionId-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::getLogicalSessionId()
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('STANDALONE'); NEEDS_ATLEAST_MONGODB_VERSION(STANDALONE, "3.6"); ?>
--FILE--
<?php
Expand Down
1 change: 1 addition & 0 deletions tests/session/session-getOperationTime-001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
MongoDB\Driver\Session::getOperationTime()
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php NEEDS_CRYPTO(); ?>
<?php NEEDS('REPLICASET'); ?>
--FILE--
<?php
Expand Down
Loading