Skip to content

Commit 192bc73

Browse files
author
Sandro Santilli
committed
Disable http client connection pooling while running tests
This is a workaround for issue #38
1 parent adae0b4 commit 192bc73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/support/assert.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ assert.response = function(server, req, res, msg){
117117
port: server.__port,
118118
path: req.url,
119119
method: method,
120-
headers: req.headers
120+
headers: req.headers,
121+
agent: false
121122
});
122123

123124
var check = function() {

0 commit comments

Comments
 (0)