File tree 1 file changed +9
-1
lines changed
test/integration/server-selection
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { expect } from 'chai';
3
3
import { ReadPreference , Topology } from '../../mongodb' ;
4
4
import { assert as test , setupDatabase } from '../shared' ;
5
5
6
- describe ( 'ReadPreference' , function ( ) {
6
+ describe . only ( 'ReadPreference' , function ( ) {
7
7
let client ;
8
8
let events ;
9
9
@@ -489,7 +489,15 @@ describe('ReadPreference', function () {
489
489
try {
490
490
const admin = client . db ( ) . admin ( ) ;
491
491
serverStatus = await admin . serverStatus ( ) ;
492
+
493
+ console . log ( 'serverStatus.repl----------------------' ) ;
494
+ console . log ( serverStatus . repl ) ;
495
+ console . log ( '----------------------' ) ;
492
496
} catch ( serverStatusError ) {
497
+
498
+ console . log ( 'serverStatusError----------------------' ) ;
499
+ console . log ( serverStatusError ) ;
500
+ console . log ( '----------------------' ) ;
493
501
expect ( serverStatusError ) . to . not . exist ;
494
502
}
495
503
You can’t perform that action at this time.
0 commit comments