Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Upgraded packages

  • Loading branch information...
commit e3a387d854339ba84943ba69b06c6f85f6ff7570 1 parent 575fe12
@3rd-Eden authored
Showing with 4 additions and 10 deletions.
  1. +3 −4 package.json
  2. +1 −6 test/connectionpool.test.js
View
7 package.json
@@ -18,8 +18,7 @@
"retry": "0.6.0"
},
"devDependencies": {
- "mocha": "1.2.0",
- "chai": "1.0.4"
- },
- "optionalDependencies": {}
+ "mocha": "1.2.1",
+ "chai": "1.1.0"
+ }
}
View
7 test/connectionpool.test.js
@@ -171,13 +171,8 @@ describe('connectionpool', function () {
, count = 0
, allocations = 50;
- var backup = [];
-
pool.factory(function factory() {
- var conn = net.connect(port, host);
-
- backup.push(conn);
- return conn;
+ return net.connect(port, host);
});
/**
Please sign in to comment.
Something went wrong with that request. Please try again.