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 1
1
import { loadSpecTests } from '../../spec' ;
2
2
import { executeUriValidationTest } from '../../tools/uri_spec_runner' ;
3
3
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
+
4
10
describe ( 'Auth option spec tests (legacy)' , function ( ) {
5
11
const suites = loadSpecTests ( 'auth' , 'legacy' ) ;
6
12
7
13
for ( const suite of suites ) {
8
14
describe ( suite . name , function ( ) {
9
15
for ( const test of suite . tests ) {
10
16
it ( `${ test . description } ` , function ( ) {
17
+ if ( SKIP . includes ( test . description ) ) {
18
+ this . test . skipReason = `NODE-7046: ${ test . description } ` ;
19
+ this . test . skip ( ) ;
20
+ }
11
21
executeUriValidationTest ( test ) ;
12
22
} ) ;
13
23
}
You can’t perform that action at this time.
0 commit comments