Skip to content

Commit

Permalink
[test] Remove test for forkShim option
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki authored and AvianFlu committed Jun 26, 2012
1 parent 16d1419 commit ba6b76d
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions test/monitor/fork-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,6 @@ vows.describe('forever/monitor/fork').addBatch({
assert.isObject(msg);
assert.deepEqual(msg, { from: 'child' });
}
},
"with `forkShim` true": {
topic: function () {
var script = path.join(__dirname, '..', '..', 'examples', 'process-send.js'),
child

child = this.child = new (forever.Monitor)(script, {
silent: false,
minUptime: 2000,
max: 1,
fork: true,
forkShim: true
});

child.on('message', this.callback.bind(this, null));
child.start();
},
"should reemit the message correctly": function (err, msg) {
assert.isObject(msg);
assert.deepEqual(msg, { from: 'child' });
this.child.child.kill();
}
}
}
}
Expand Down

0 comments on commit ba6b76d

Please sign in to comment.