Skip to content

Commit

Permalink
upgrade npm files to start v0.4
Browse files Browse the repository at this point in the history
update tests to work with node 0.4
  • Loading branch information
jonjlee committed Jun 16, 2011
1 parent 05be477 commit a4b0008
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
results*.log
results*.html
results-*
*.tpl.js
.reporting.test-output.html
tmp
node_modules
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./results-*
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.4.0 (2011/06/16) ##

Compatible with node v0.4.x

## v0.3.0 (2011/06/16) ##

Compatible with node v0.3.x
Expand Down
38 changes: 22 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,48 @@
{
"name": "nodeload",
"version": "0.3.0",
"version": "0.4.0",
"description": "Load testing library for node.js",
"url": "https://github.com/benschmaus/nodeload",
"engines": {
"node": ">=0.3.0 <0.4.0"
"keywords": ["testing", "load testing", "http"],
"homepage": "https://github.com/benschmaus/nodeload",
"engines": {
"node": "0.4"
},
"contributors": [
"Benjamin Schmaus <[email protected]>",
"Jonathan Lee <[email protected]>",
"Robert Newson <[email protected]>",
"Michael Mattozzi <[email protected]>"
],
"bugs": {
"web" : "https://github.com/benschmaus/nodeload/issues"
},
"repository": {
"type": "git",
"url": "http://g ithub.com/benschmaus/nodeload"
"type": "git",
"url": "http://github.com/benschmaus/nodeload"
},
"main": "./nodeload.js",
"bin": {
"nodeload.js": "./nodeload.js",
"nl.js": "./nl.js"
},
"modules": {
"config": "./lib/config",
"loop": "./lib/loop",
"stats": "./lib/stats",
"monitoring": "./lib/monitoring",
"http": "./lib/http",
"reporting": "./lib/reporting",
"remote": "./lib/remote"
"directories": {
"doc": "./doc",
"lib": "./lib",
"example": "./examples"
},
"scripts": {
"test": "expresso",
"preinstall": "make clean compile"
},
"devDependencies": {
"expresso": ">=0.7.0"
"expresso": ">=0.7.7"
},
"dependencies": {
}
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/benschmaus/nodeload/raw/master/LICENSE"
}
]
}
3 changes: 2 additions & 1 deletion test/http.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ setTimeout(function() { server.stop(); }, 1500);
module.exports = {
'example: add a new route': function(beforeExit) {
var done = false;
server.addRoute('^/route', function() {
server.addRoute('^/route', function(url, req, res) {
done = true;
res.end();
});

var client = http.createClient(9020, '127.0.0.1'),
Expand Down
4 changes: 3 additions & 1 deletion test/monitoring.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,6 @@ module.exports = {
assert.equal(m.stats['runtime'].length, 5);
});
}
};
};

process.setMaxListeners(20);

0 comments on commit a4b0008

Please sign in to comment.