@@ -327,7 +327,8 @@ describe('lifecycle conductor', () => {
327327 } = opts ;
328328
329329 if ( skip ) {
330- it . skip ( 'should populate queue : ' + `${ skip } ` , ( ) => { } ) ;
330+ it . skip ( 'should populate queue : ' +
331+ `${ skip } ` , ( ) => { assert . fail ( skip ) ; } ) ;
331332 return ;
332333 }
333334
@@ -533,63 +534,56 @@ describe('lifecycle conductor', () => {
533534 describe . each ( [
534535 {
535536 description : 'with auth `account` and buckets from bucketd' ,
536- options : {
537- lifecycleConfig : {
538- ...baseLCConfig ,
539- conductor : {
540- ...baseLCConfig . conductor ,
541- bucketSource : 'bucketd' ,
542- bucketd : {
543- host : '127.0.0.1' ,
544- } ,
537+ lifecycleConfig : {
538+ ...baseLCConfig ,
539+ conductor : {
540+ ...baseLCConfig . conductor ,
541+ bucketSource : 'bucketd' ,
542+ bucketd : {
543+ host : '127.0.0.1' ,
545544 } ,
546545 } ,
547- mockBucketd : true ,
548- transformExpectedMessages : identity ,
549- }
546+ } ,
547+ mockBucketd : true ,
548+ transformExpectedMessages : identity ,
550549 } ,
551550 {
552551 description : 'with auth `account` and buckets from zookeeper (compat mode)' ,
553- options : {
554- lifecycleConfig : baseLCConfig ,
555- setupZookeeper : true ,
556- transformExpectedMessages : identity ,
557- }
552+ lifecycleConfig : baseLCConfig ,
553+ setupZookeeper : true ,
554+ transformExpectedMessages : identity ,
558555 } ,
559556 {
560557 description : 'with auth `assumeRole` and buckets from bucketd' ,
561- options : {
562- lifecycleConfig : {
563- ...baseLCConfig ,
564- conductor : {
565- ...baseLCConfig . conductor ,
566- bucketSource : 'bucketd' ,
567- bucketd : {
568- host : '127.0.0.1' ,
569- } ,
558+ lifecycleConfig : {
559+ ...baseLCConfig ,
560+ conductor : {
561+ ...baseLCConfig . conductor ,
562+ bucketSource : 'bucketd' ,
563+ bucketd : {
564+ host : '127.0.0.1' ,
570565 } ,
571- auth : {
572- type : 'assumeRole' ,
573- roleName : 'lc ' ,
574- sts : {
575- host : '127.0.0.1' ,
576- port : 8650 ,
577- accessKey : 'ak' ,
578- secretKey : 'sk ' ,
579- } ,
580- vault : {
581- host : '127.0.0.1' ,
582- } ,
566+ } ,
567+ auth : {
568+ type : 'assumeRole ' ,
569+ roleName : 'lc' ,
570+ sts : {
571+ host : '127.0.0.1' ,
572+ port : 8650 ,
573+ accessKey : 'ak ' ,
574+ secretKey : 'sk' ,
575+ } ,
576+ vault : {
577+ host : '127.0.0.1' ,
583578 } ,
584579 } ,
585- mockBucketd : true ,
586- mockVault : true ,
587- transformExpectedMessages : withAccountIds ,
588- skip : 'to be reintroduced with https://scality.atlassian.net/browse/BB-126' ,
589- }
580+ } ,
581+ mockBucketd : true ,
582+ mockVault : true ,
583+ transformExpectedMessages : withAccountIds ,
584+ skip : 'to be reintroduced with https://scality.atlassian.net/browse/BB-126' ,
590585 }
591- ] ) . each ( '$description' , ( {
592- description,
593- options,
594- } ) => describeConductorSpec ( options ) ) ;
586+ ] ) ( '$description' , options => {
587+ describeConductorSpec ( options ) ;
588+ } ) ;
595589} ) ;
0 commit comments