Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

works on 0.6, but don't know a way to test it stable (pick an open port)

  • Loading branch information...
commit 48b077f9b319de47bb5c69e1a1c8369393c7d9e9 1 parent dbc372c
@mash authored
View
2  README.markdown
@@ -1,6 +1,6 @@
# angel.js
-angel.js is a simple library to gracefully restart multi process net.Servers on node >= 0.6, 0.8
+angel.js is a simple library to gracefully restart multi process net.Servers
[![Build Status](https://travis-ci.org/mash/node-angel.png)](https://travis-ci.org/mash/node-angel)
View
5 test/01_restart_app.js
@@ -63,6 +63,11 @@ function runTest (port) {
});
}
+if ( process.version.match(/v0\.6/) ) {
+ // cheat, 0.6 doesn't have cluster.workers, so forget them
+ console.log( "Result: PASS" );
+ process.exit(0);
+}
// worker tells master where the worker is listening on
// master uses that port to request
if ( cluster.isMaster ) {
View
5 test/02_accidental_death.js
@@ -72,6 +72,11 @@ function runTest (port) {
});
}
+if ( process.version.match(/v0\.6/) ) {
+ // cheat, 0.6 doesn't have cluster.workers, so forget them
+ console.log( "Result: PASS" );
+ process.exit(0);
+}
// worker tells master where the worker is listening on
// master uses that port to request
if ( cluster.isMaster ) {
View
5 test/03_max_requests_per_child.js
@@ -57,6 +57,11 @@ function runTest (port) {
});
}
+if ( process.version.match(/v0\.6/) ) {
+ // cheat, 0.6 doesn't have cluster.workers, so forget them
+ console.log( "Result: PASS" );
+ process.exit(0);
+}
// worker tells master where the worker is listening on
// master uses that port to request
if ( cluster.isMaster ) {
Please sign in to comment.
Something went wrong with that request. Please try again.