Commit Graph

2 Commits

Author SHA1 Message Date
Jeremy Mikola e32f59bad8 PHPC-1875: Skip snapshot error test on sharded clusters (#1262)
skip_if_not_replica_set will be more portable once we start testing on load balancers, which will back sharded clusters.
2021-10-01 16:03:38 -04:00
Jeremy Mikola ac4935338a PHPC-1761: Snapshot Reads (#1243)
* Bump libmongoc to 1.19-dev

* PHPC-1890: Constant for ReadConcern snapshot level

* Move Manager::startSession() error test and delete obsolete test

The deleted error test was redundant. It was originally created in ca4c52eb1c to work around changes in PHP 8, but 60febd0f28 subsequently reintroduced a portable version of the test case.

Also adds missing SKIPIF to startSession test.

* PHPC-1889: Session snapshot option

* PHPC-1875: Session with snapshot=true cannot perform writes

* PHPC-1876: Session with snapshot=true requires MongoDB 5.0+
2021-08-04 19:11:33 -04:00