Skip to content

Commit e052367

Browse files
committed
Remove serverless-dependent skips in BulkWrite prose tests
1 parent 10c80e5 commit e052367

11 files changed

+0
-44
lines changed

tests/SpecTests/Crud/Prose11_BulkWriteBatchSplitsWhenNamespaceExceedsMessageSizeTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ public function setUp(): void
2727
{
2828
parent::setUp();
2929

30-
if ($this->isServerless()) {
31-
$this->markTestSkipped('bulkWrite command is not supported');
32-
}
33-
3430
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
3531

3632
$this->client = self::createTestClient();

tests/SpecTests/Crud/Prose12_BulkWriteExceedsMaxMessageSizeBytesTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ public function setUp(): void
1919
{
2020
parent::setUp();
2121

22-
if ($this->isServerless()) {
23-
$this->markTestSkipped('bulkWrite command is not supported');
24-
}
25-
2622
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2723
}
2824

tests/SpecTests/Crud/Prose13_BulkWriteUnsupportedForAutoEncryptionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ class Prose13_BulkWriteUnsupportedForAutoEncryptionTest extends FunctionalTestCa
1515
{
1616
public function testErrorIfAutoEncryptionIsConfigured(): void
1717
{
18-
if ($this->isServerless()) {
19-
$this->markTestSkipped('bulkWrite command is not supported');
20-
}
21-
2218
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2319

2420
$this->skipIfClientSideEncryptionIsNotSupported();

tests/SpecTests/Crud/Prose15_BulkWriteUnacknowledgedWriteConcernTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ class Prose15_BulkWriteUnacknowledgedWriteConcernTest extends FunctionalTestCase
2121
{
2222
public function testUnacknowledgedWriteConcern(): void
2323
{
24-
if ($this->isServerless()) {
25-
$this->markTestSkipped('bulkWrite command is not supported');
26-
}
27-
2824
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2925

3026
$client = self::createTestClient();

tests/SpecTests/Crud/Prose3_BulkWriteSplitsOnMaxWriteBatchSizeTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ class Prose3_BulkWriteSplitsOnMaxWriteBatchSizeTest extends FunctionalTestCase
1818
{
1919
public function testSplitOnMaxWriteBatchSize(): void
2020
{
21-
if ($this->isServerless()) {
22-
$this->markTestSkipped('bulkWrite command is not supported');
23-
}
24-
2521
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2622

2723
$client = self::createTestClient();

tests/SpecTests/Crud/Prose4_BulkWriteSplitsOnMaxMessageSizeBytesTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ class Prose4_BulkWriteSplitsOnMaxMessageSizeBytesTest extends FunctionalTestCase
2020
{
2121
public function testSplitOnMaxWriteBatchSize(): void
2222
{
23-
if ($this->isServerless()) {
24-
$this->markTestSkipped('bulkWrite command is not supported');
25-
}
26-
2723
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2824

2925
$client = self::createTestClient();

tests/SpecTests/Crud/Prose5_BulkWriteCollectsWriteConcernErrorsAcrossBatchesTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ class Prose5_BulkWriteCollectsWriteConcernErrorsAcrossBatchesTest extends Functi
1919
{
2020
public function testCollectWriteConcernErrors(): void
2121
{
22-
if ($this->isServerless()) {
23-
$this->markTestSkipped('bulkWrite command is not supported');
24-
}
25-
2622
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2723

2824
$client = self::createTestClient(null, ['retryWrites' => false]);

tests/SpecTests/Crud/Prose6_BulkWriteHandlesWriteErrorsAcrossBatchesTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ public function setUp(): void
2121
{
2222
parent::setUp();
2323

24-
if ($this->isServerless()) {
25-
$this->markTestSkipped('bulkWrite command is not supported');
26-
}
27-
2824
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2925
}
3026

tests/SpecTests/Crud/Prose7_BulkWriteHandlesCursorRequiringGetMoreTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ class Prose7_BulkWriteHandlesCursorRequiringGetMoreTest extends FunctionalTestCa
2020
{
2121
public function testHandlesCursor(): void
2222
{
23-
if ($this->isServerless()) {
24-
$this->markTestSkipped('bulkWrite command is not supported');
25-
}
26-
2723
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2824

2925
$client = self::createTestClient();

tests/SpecTests/Crud/Prose8_BulkWriteHandlesCursorRequiringGetMoreWithinTransactionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ class Prose8_BulkWriteHandlesCursorRequiringGetMoreWithinTransactionTest extends
2020
{
2121
public function testHandlesCursorWithinTransaction(): void
2222
{
23-
if ($this->isServerless()) {
24-
$this->markTestSkipped('bulkWrite command is not supported');
25-
}
26-
2723
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
2824
$this->skipIfTransactionsAreNotSupported();
2925

tests/SpecTests/Crud/Prose9_BulkWriteHandlesGetMoreErrorTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ class Prose9_BulkWriteHandlesGetMoreErrorTest extends FunctionalTestCase
2323

2424
public function testHandlesGetMoreError(): void
2525
{
26-
if ($this->isServerless()) {
27-
$this->markTestSkipped('bulkWrite command is not supported');
28-
}
29-
3026
$this->skipIfServerVersion('<', '8.0', 'bulkWrite command is not supported');
3127

3228
$client = self::createTestClient();

0 commit comments

Comments
 (0)