16
16
* Unified test format spec tests.
17
17
*
18
18
* @see https://github.com/mongodb/specifications/blob/master/source/unified-test-format/unified-test-format.rst
19
- * @group serverless
20
19
*/
21
20
class UnifiedSpecTest extends FunctionalTestCase
22
21
{
@@ -231,7 +230,10 @@ public function provideAtlasDataLakeTests()
231
230
return $ this ->provideTests (__DIR__ . '/atlas-data-lake/*.json ' );
232
231
}
233
232
234
- /** @dataProvider provideChangeStreamsTests */
233
+ /**
234
+ * @dataProvider provideChangeStreamsTests
235
+ * @group serverless
236
+ */
235
237
public function testChangeStreams (UnifiedTestCase $ test ): void
236
238
{
237
239
self ::$ runner ->run ($ test );
@@ -245,6 +247,7 @@ public function provideChangeStreamsTests()
245
247
/**
246
248
* @dataProvider provideClientSideEncryptionTests
247
249
* @group csfle
250
+ * @group serverless
248
251
*/
249
252
public function testClientSideEncryption (UnifiedTestCase $ test ): void
250
253
{
@@ -256,7 +259,10 @@ public function provideClientSideEncryptionTests()
256
259
return $ this ->provideTests (__DIR__ . '/client-side-encryption/*.json ' );
257
260
}
258
261
259
- /** @dataProvider provideCollectionManagementTests */
262
+ /**
263
+ * @dataProvider provideCollectionManagementTests
264
+ * @group serverless
265
+ */
260
266
public function testCollectionManagement (UnifiedTestCase $ test ): void
261
267
{
262
268
self ::$ runner ->run ($ test );
@@ -267,7 +273,10 @@ public function provideCollectionManagementTests()
267
273
return $ this ->provideTests (__DIR__ . '/collection-management/*.json ' );
268
274
}
269
275
270
- /** @dataProvider provideCommandMonitoringTests */
276
+ /**
277
+ * @dataProvider provideCommandMonitoringTests
278
+ * @group serverless
279
+ */
271
280
public function testCommandMonitoring (UnifiedTestCase $ test ): void
272
281
{
273
282
self ::$ runner ->run ($ test );
@@ -278,7 +287,10 @@ public function provideCommandMonitoringTests()
278
287
return $ this ->provideTests (__DIR__ . '/command-monitoring/*.json ' );
279
288
}
280
289
281
- /** @dataProvider provideCrudTests */
290
+ /**
291
+ * @dataProvider provideCrudTests
292
+ * @group serverless
293
+ */
282
294
public function testCrud (UnifiedTestCase $ test ): void
283
295
{
284
296
self ::$ runner ->run ($ test );
@@ -289,7 +301,10 @@ public function provideCrudTests()
289
301
return $ this ->provideTests (__DIR__ . '/crud/*.json ' );
290
302
}
291
303
292
- /** @dataProvider provideGridFSTests */
304
+ /**
305
+ * @dataProvider provideGridFSTests
306
+ * @group serverless
307
+ */
293
308
public function testGridFS (UnifiedTestCase $ test ): void
294
309
{
295
310
self ::$ runner ->run ($ test );
@@ -300,7 +315,10 @@ public function provideGridFSTests()
300
315
return $ this ->provideTests (__DIR__ . '/gridfs/*.json ' );
301
316
}
302
317
303
- /** @dataProvider provideLoadBalancers */
318
+ /**
319
+ * @dataProvider provideLoadBalancers
320
+ * @group serverless
321
+ */
304
322
public function testLoadBalancers (UnifiedTestCase $ test ): void
305
323
{
306
324
self ::$ runner ->run ($ test );
@@ -322,7 +340,10 @@ public function provideReadWriteConcernTests()
322
340
return $ this ->provideTests (__DIR__ . '/read-write-concern/*.json ' );
323
341
}
324
342
325
- /** @dataProvider provideRetryableReadsTests */
343
+ /**
344
+ * @dataProvider provideRetryableReadsTests
345
+ * @group serverless
346
+ */
326
347
public function testRetryableReads (UnifiedTestCase $ test ): void
327
348
{
328
349
self ::$ runner ->run ($ test );
@@ -333,7 +354,10 @@ public function provideRetryableReadsTests()
333
354
return $ this ->provideTests (__DIR__ . '/retryable-reads/*.json ' );
334
355
}
335
356
336
- /** @dataProvider provideRetryableWritesTests */
357
+ /**
358
+ * @dataProvider provideRetryableWritesTests
359
+ * @group serverless
360
+ */
337
361
public function testRetryableWrites (UnifiedTestCase $ test ): void
338
362
{
339
363
self ::$ runner ->run ($ test );
@@ -344,7 +368,10 @@ public function provideRetryableWritesTests()
344
368
return $ this ->provideTests (__DIR__ . '/retryable-writes/*.json ' );
345
369
}
346
370
347
- /** @dataProvider provideRunCommandTests */
371
+ /**
372
+ * @dataProvider provideRunCommandTests
373
+ * @group serverless
374
+ */
348
375
public function testRunCommand (UnifiedTestCase $ test ): void
349
376
{
350
377
self ::$ runner ->run ($ test );
@@ -355,7 +382,10 @@ public function provideRunCommandTests()
355
382
return $ this ->provideTests (__DIR__ . '/run-command/*.json ' );
356
383
}
357
384
358
- /** @dataProvider provideSessionsTests */
385
+ /**
386
+ * @dataProvider provideSessionsTests
387
+ * @group serverless
388
+ */
359
389
public function testSessions (UnifiedTestCase $ test ): void
360
390
{
361
391
self ::$ runner ->run ($ test );
@@ -366,7 +396,10 @@ public function provideSessionsTests()
366
396
return $ this ->provideTests (__DIR__ . '/sessions/*.json ' );
367
397
}
368
398
369
- /** @dataProvider provideTransactionsTests */
399
+ /**
400
+ * @dataProvider provideTransactionsTests
401
+ * @group serverless
402
+ */
370
403
public function testTransactions (UnifiedTestCase $ test ): void
371
404
{
372
405
self ::$ runner ->run ($ test );
@@ -390,6 +423,7 @@ public function provideTransactionsConvenientApiTests()
390
423
391
424
/**
392
425
* @dataProvider provideVersionedApiTests
426
+ * @group serverless
393
427
* @group versioned-api
394
428
*/
395
429
public function testVersionedApi (UnifiedTestCase $ test ): void
0 commit comments