@@ -5,7 +5,7 @@ const yaml = require('js-yaml');
55const LATEST_EFFECTIVE_VERSION = '6.0' ;
66const MONGODB_VERSIONS = [ 'latest' , '6.0' , '5.0' , '4.4' , '4.2' , '4.0' , '3.6' ] ;
77const NODE_VERSIONS = [ 'erbium' , 'fermium' , 'gallium' ] ;
8- NODE_VERSIONS . sort ( )
8+ NODE_VERSIONS . sort ( ) ;
99const LOWEST_LTS = NODE_VERSIONS [ 0 ] ;
1010
1111const TOPOLOGIES = [ 'server' , 'replica_set' , 'sharded_cluster' ] ;
@@ -136,7 +136,7 @@ TASKS.push(
136136 VERSION : '5.0' ,
137137 TOPOLOGY : 'sharded_cluster' ,
138138 AUTH : 'auth' ,
139- LOAD_BALANCER : 'true' ,
139+ LOAD_BALANCER : 'true'
140140 }
141141 } ,
142142 { func : 'start-load-balancer' } ,
@@ -155,7 +155,7 @@ TASKS.push(
155155 VERSION : '6.0' ,
156156 TOPOLOGY : 'sharded_cluster' ,
157157 AUTH : 'auth' ,
158- LOAD_BALANCER : 'true' ,
158+ LOAD_BALANCER : 'true'
159159 }
160160 } ,
161161 { func : 'start-load-balancer' } ,
@@ -505,17 +505,30 @@ BUILD_VARIANTS.push({
505505} ) ;
506506
507507const oneOffFuncs = [
508- { func : 'run custom snappy tests' } ,
509508 {
509+ name : 'run-custom-snappy-tests' ,
510+ func : 'run custom snappy tests'
511+ } ,
512+ {
513+ name : 'run-bson-ext-integration' ,
514+ func : 'run bson-ext test' ,
515+ vars : {
516+ NODE_LTS_NAME : LOWEST_LTS ,
517+ TEST_NPM_SCRIPT : 'check:test'
518+ }
519+ } ,
520+ {
521+ name : 'run-bson-ext-unit' ,
510522 func : 'run bson-ext test' ,
511523 vars : {
512- NODE_LTS_NAME : LOWEST_LTS
524+ NODE_LTS_NAME : LOWEST_LTS ,
525+ TEST_NPM_SCRIPT : 'check:unit'
513526 }
514527 }
515528] ;
516529
517530const oneOffFuncAsTasks = oneOffFuncs . map ( oneOffFunc => ( {
518- name : ` ${ oneOffFunc . func . split ( ' ' ) . join ( '-' ) } ` ,
531+ name : oneOffFunc . name ,
519532 tags : [ 'run-custom-dependency-tests' ] ,
520533 commands : [
521534 {
0 commit comments