File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11import { loadSpecTests } from '../../spec' ;
22import { executeUriValidationTest } from '../../tools/uri_spec_runner' ;
33
4+ const SKIP = [
5+ 'should throw an exception if username and no password (MONGODB-AWS)' ,
6+ 'should use username and password if specified (MONGODB-AWS)' ,
7+ 'should use username, password and session token if specified (MONGODB-AWS)'
8+ ] ;
9+
410describe ( 'Auth option spec tests (legacy)' , function ( ) {
511 const suites = loadSpecTests ( 'auth' , 'legacy' ) ;
612
713 for ( const suite of suites ) {
814 describe ( suite . name , function ( ) {
915 for ( const test of suite . tests ) {
1016 it ( `${ test . description } ` , function ( ) {
17+ if ( SKIP . includes ( test . description ) ) {
18+ this . test . skipReason = `NODE-7046: ${ test . description } ` ;
19+ this . test . skip ( ) ;
20+ }
1121 executeUriValidationTest ( test ) ;
1222 } ) ;
1323 }
You can’t perform that action at this time.
0 commit comments