Skip to content

PHPLIB-948: Run unified tests from all specs against Atlas Serverless #977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 26, 2022
Merged
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
6 changes: 2 additions & 4 deletions tests/UnifiedSpecTests/UnifiedSpecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Unified test format spec tests.
*
* @see https://github.com/mongodb/specifications/blob/master/source/unified-test-format/unified-test-format.rst
* @group serverless
*/
class UnifiedSpecTest extends FunctionalTestCase
{
Expand All @@ -33,9 +34,9 @@ class UnifiedSpecTest extends FunctionalTestCase
'load-balancers/cursors are correctly pinned to connections for load-balanced clusters: listIndexes pins the cursor to a connection' => 'PHPC does not implement CMAP',
'load-balancers/cursors are correctly pinned to connections for load-balanced clusters: change streams pin to a connection' => 'PHPC does not implement CMAP',
'load-balancers/monitoring events include correct fields: poolClearedEvent events include serviceId' => 'PHPC does not implement CMAP',
'load-balancers/load-balancers/state change errors are correctly handled: only connections for a specific serviceId are closed when pools are cleared' => 'PHPC does not implement CMAP',
'load-balancers/state change errors are correctly handled: only connections for a specific serviceId are closed when pools are cleared' => 'PHPC does not implement CMAP',
'load-balancers/state change errors are correctly handled: errors during the initial connection hello are ignored' => 'PHPC does not implement CMAP',
'load-balancers/state change errors are correctly handled: errors during authentication are processed' => 'PHPC does not implement CMAP',
'load-balancers/state change errors are correctly handled: stale errors are ignored' => 'PHPC does not implement CMAP',
'load-balancers/transactions are correctly pinned to connections for load-balanced clusters: all operations go to the same mongos' => 'PHPC does not implement CMAP',
'load-balancers/transactions are correctly pinned to connections for load-balanced clusters: transaction can be committed multiple times' => 'PHPC does not implement CMAP',
Expand Down Expand Up @@ -141,7 +142,6 @@ public function provideCommandMonitoringTests()

/**
* @dataProvider provideCrudTests
* @group serverless
*/
public function testCrud(UnifiedTestCase $test): void
{
Expand Down Expand Up @@ -194,7 +194,6 @@ public function provideSessionsTests()

/**
* @dataProvider provideTransactionsTests
* @group serverless
*/
public function testTransactions(UnifiedTestCase $test): void
{
Expand All @@ -209,7 +208,6 @@ public function provideTransactionsTests()
/**
* @dataProvider provideVersionedApiTests
* @group versioned-api
* @group serverless
*/
public function testVersionedApi(UnifiedTestCase $test): void
{
Expand Down