@@ -70,7 +70,7 @@ WriteError's `details` property.
70
70
Test that ` MongoClient.bulkWrite ` properly handles ` writeModels ` inputs containing a number of writes greater than
71
71
` maxWriteBatchSize ` .
72
72
73
- This test must only be run on 8.0+ servers.
73
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
74
74
75
75
Construct a ` MongoClient ` (referred to as ` client ` ) with
76
76
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -98,7 +98,7 @@ command. Assert that the length of `firstEvent.command.ops` is `maxWriteBatchSiz
98
98
Test that ` MongoClient.bulkWrite ` properly handles a ` writeModels ` input which constructs an ` ops ` array larger than
99
99
` maxMessageSizeBytes ` .
100
100
101
- This test must only be run on 8.0+ servers.
101
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
102
102
103
103
Construct a ` MongoClient ` (referred to as ` client ` ) with
104
104
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -137,7 +137,7 @@ driver exposes `operationId`s in its CommandStartedEvents, assert that `firstEve
137
137
138
138
Test that ` MongoClient.bulkWrite ` properly collects and reports ` writeConcernError ` s returned in separate batches.
139
139
140
- This test must only be run on 8.0+ servers.
140
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
141
141
142
142
Construct a ` MongoClient ` (referred to as ` client ` ) with ` retryWrites: false ` configured and
143
143
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -182,7 +182,7 @@ Assert that two CommandStartedEvents were observed for the `bulkWrite` command.
182
182
183
183
Test that ` MongoClient.bulkWrite ` handles individual write errors across batches for ordered and unordered bulk writes.
184
184
185
- This test must only be run on 8.0+ servers.
185
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
186
186
187
187
Construct a ` MongoClient ` (referred to as ` client ` ) with
188
188
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -237,7 +237,7 @@ Assert that one CommandStartedEvent was observed for the `bulkWrite` command.
237
237
238
238
Test that ` MongoClient.bulkWrite ` properly iterates the results cursor when ` getMore ` is required.
239
239
240
- This test must only be run on 8.0+ servers.
240
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
241
241
242
242
Construct a ` MongoClient ` (referred to as ` client ` ) with
243
243
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -276,7 +276,8 @@ Assert that a CommandStartedEvent was observed for the `getMore` command.
276
276
Test that ` MongoClient.bulkWrite ` executed within a transaction properly iterates the results cursor when ` getMore ` is
277
277
required.
278
278
279
- This test must only be run on 8.0+ servers. This test must not be run against standalone servers.
279
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless. This test must not be run
280
+ against standalone servers.
280
281
281
282
Construct a ` MongoClient ` (referred to as ` client ` ) with
282
283
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -318,7 +319,7 @@ Assert that a CommandStartedEvent was observed for the `getMore` command.
318
319
319
320
Test that ` MongoClient.bulkWrite ` properly handles a failure that occurs when attempting a ` getMore ` .
320
321
321
- This test must only be run on 8.0+ servers.
322
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
322
323
323
324
Construct a ` MongoClient ` (referred to as ` client ` ) with
324
325
[ command monitoring] ( ../../command-logging-and-monitoring/command-logging-and-monitoring.rst ) enabled to observe
@@ -369,7 +370,7 @@ Assert that a CommandStartedEvent was observed for the `killCursors` command.
369
370
370
371
### 10. ` MongoClient.bulkWrite ` returns error for unacknowledged too-large insert
371
372
372
- This test must only be run on 8.0+ servers.
373
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
373
374
374
375
Construct a ` MongoClient ` (referred to as ` client ` ).
375
376
@@ -423,7 +424,7 @@ Expect a client-side error due the size.
423
424
Test that ` MongoClient.bulkWrite ` batch splits a bulk write when the addition of a new namespace to ` nsInfo ` causes the
424
425
size of the message to exceed ` maxMessageSizeBytes - 1000 ` .
425
426
426
- This test must only be run on 8.0+ servers.
427
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
427
428
428
429
Repeat the following setup for each test case:
429
430
@@ -603,8 +604,8 @@ remainingBulkWriteBytes = maxMessageSizeBytes - 1122
603
604
Test that ` MongoClient.bulkWrite ` returns an error if an operation provided exceeds ` maxMessageSizeBytes ` such that an
604
605
empty ` ops ` payload would be sent.
605
606
606
- This test must only be run on 8.0+ servers. This test may be skipped by drivers that are not able to construct
607
- arbitrarily large documents.
607
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless. This test may be skipped by
608
+ drivers that are not able to construct arbitrarily large documents.
608
609
609
610
Construct a ` MongoClient ` (referred to as ` client ` ). Perform a ` hello ` command using ` client ` and record the
610
611
` maxMessageSizeBytes ` value contained in the response.
@@ -649,7 +650,7 @@ This test is expected to be removed when [DRIVERS-2888](https://jira.mongodb.org
649
650
650
651
Test that ` MongoClient.bulkWrite ` returns an error if the client has auto-encryption configured.
651
652
652
- This test must only be run on 8.0+ servers.
653
+ This test must only be run on 8.0+ servers. This test must be skipped on Atlas Serverless.
653
654
654
655
Construct a ` MongoClient ` (referred to as ` client ` ) configured with the following ` AutoEncryptionOpts ` :
655
656
0 commit comments