File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ tasks:
356
356
- func : " run atlas data lake test"
357
357
358
358
- name : " test-requireApiVersion"
359
- tags : ["versioned_api "]
359
+ tags : ["versioned-api "]
360
360
commands :
361
361
- func : " bootstrap mongo-orchestration"
362
362
vars :
@@ -367,6 +367,16 @@ tasks:
367
367
vars :
368
368
API_VERSION : " 1"
369
369
370
+ - name : " test-acceptApiVersion2"
371
+ tags : ["versioned-api"]
372
+ commands :
373
+ - func : " bootstrap mongo-orchestration"
374
+ vars :
375
+ TOPOLOGY : " server"
376
+ ORCHESTRATION_FILE : " versioned-api-testing.json"
377
+ - func : " run tests"
378
+ vars :
379
+ TESTS : " versioned-api"
370
380
# }}}
371
381
372
382
@@ -619,9 +629,9 @@ buildvariants:
619
629
tasks :
620
630
- name : " test-atlas-data-lake"
621
631
622
- - matrix_name : " test-requireApiVersion "
632
+ - matrix_name : " test-versioned-api "
623
633
matrix_spec : { "php-edge-versions": "latest-stable", "versions": "latest", "driver-versions": "latest" }
624
634
display_name : " Versioned API - ${versions}"
625
635
run_on : rhel70
626
636
tasks :
627
- - name : " test-requireApiVersion "
637
+ - .versioned-api
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ case "$TESTS" in
59
59
php vendor/bin/simple-phpunit --configuration phpunit.evergreen.xml --testsuite " Atlas Data Lake Test Suite" $PHPUNIT_OPTS
60
60
;;
61
61
62
+ versioned-api)
63
+ php vendor/bin/simple-phpunit --configuration phpunit.evergreen.xml --group versioned-api $PHPUNIT_OPTS
64
+ ;;
65
+
62
66
* )
63
67
php vendor/bin/simple-phpunit --configuration phpunit.evergreen.xml $PHPUNIT_OPTS
64
68
;;
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ public function provideTransactionsTests()
85
85
86
86
/**
87
87
* @dataProvider provideVersionedApiTests
88
+ * @group versioned-api
88
89
*/
89
90
public function testVersionedApi (UnifiedTestCase $ test )
90
91
{
You can’t perform that action at this time.
0 commit comments