File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ function defaultTest() {
6161 assert . strictEqual ( ports [ ports . length - 1 ] , port ) ;
6262 makeRequest ( url , agent , common . mustCall ( ( port ) => {
6363 assert . strictEqual ( ports [ ports . length - 1 ] , port ) ;
64+ server . closeAllConnections ( ) ;
6465 server . close ( ) ;
6566 agent . destroy ( ) ;
6667 } ) ) ;
@@ -89,6 +90,7 @@ function fifoTest() {
8990 assert . strictEqual ( ports [ 1 ] , port ) ;
9091 makeRequest ( url , agent , common . mustCall ( ( port ) => {
9192 assert . strictEqual ( ports [ 2 ] , port ) ;
93+ server . closeAllConnections ( ) ;
9294 server . close ( ) ;
9395 agent . destroy ( ) ;
9496 } ) ) ;
@@ -117,6 +119,7 @@ function lifoTest() {
117119 assert . strictEqual ( ports [ ports . length - 1 ] , port ) ;
118120 makeRequest ( url , agent , common . mustCall ( ( port ) => {
119121 assert . strictEqual ( ports [ ports . length - 1 ] , port ) ;
122+ server . closeAllConnections ( ) ;
120123 server . close ( ) ;
121124 agent . destroy ( ) ;
122125 } ) ) ;
You can’t perform that action at this time.
0 commit comments