File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const isWin = os.type().search('Windows') > -1;
1515let  database ,  pool ; 
1616const  pgServiceName  =  process . env . PG_SERVICE_NAME ; 
1717
18- describe . only ( 'Database;' ,  function  ( )  { 
18+ describe ( 'Database;' ,  function  ( )  { 
1919    this . timeout ( 45000 ) ; 
2020
2121    before ( async  done  =>  { 
@@ -88,7 +88,7 @@ describe.only('Database;', function () {
8888            database . on ( ERROR_EVENT ,  function  dbErrorHandler ( err )  { 
8989                try  { 
9090                    expect ( err ) . to . be . an . instanceof ( Error ) ; 
91-                     expect ( err . message ) . to . include ( isWin  ?  ''  :  'terminating connection' ) ; 
91+                     expect ( err . message ) . to . include ( 'terminating connection' ) ; 
9292
9393                    checkPoolState ( 0 ,  0 ,  PoolState . active ) ; 
9494
@@ -124,7 +124,7 @@ describe.only('Database;', function () {
124124                try  { 
125125                    expect ( session ) . to . be . undefined ; 
126126                    expect ( err ) . to . be . an . instanceof ( Error ) ; 
127-                     expect ( err . message ) . to . include ( isWin  ? ''  : 'ECONNREFUSED' ) ; 
127+                     expect ( err . message ) . to . include ( isWin  ? 'shutting down '  : 'ECONNREFUSED' ) ; 
128128
129129                    checkPoolState ( 0 ,  0 ,  PoolState . active ) ; 
130130
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments