Permalink
Browse files

fixed tests

  • Loading branch information...
1 parent 54b7c30 commit 37d0115dc7a8503dbf00c4d47ad47e17eda2c9d7 @tj tj committed Apr 22, 2011
Showing with 3 additions and 5 deletions.
  1. +0 −2 test/run
  2. +1 −1 test/test.restart-env.js
  3. +2 −2 test/test.restart.js
View
@@ -17,7 +17,5 @@ for file in $files; do
printf "\033[90m ${file#test/}\033[0m "
node $@ $file && echo "\033[36m✓\033[0m"
test $? -eq 0 || exit $?
- # required due to orphaned processes
- clean
done
echo
View
@@ -15,7 +15,7 @@ var server = http.createServer(function(req, res){
});
cluster = cluster(server)
- .listen(3000);
+ .listen(3001);
if (cluster.isChild) {
process.cwd().should.include.string('cluster/test');
View
@@ -19,10 +19,10 @@ var server = http.createServer(function(req, res){
cluster = cluster(server)
.set('workers', 2)
.use(cluster.pidfiles())
- .listen(3000);
+ .listen(3002);
var a, b
- , options = { host: 'localhost', port: 3000 };
+ , options = { host: 'localhost', port: 3002 };
function getPID(name) {
var pid = fs.readFileSync(__dirname + '/pids/' + name, 'ascii');

0 comments on commit 37d0115

Please sign in to comment.