give up on SIGQUIT for widows test

revert to SIGINT
This commit is contained in:
Dave Conway-Jones 2017-03-06 17:42:59 +00:00
parent 06ffe722d4
commit 99b8f16d88
1 changed files with 3 additions and 3 deletions

View File

@ -540,7 +540,7 @@ describe('exec node', function() {
});
});
it('should be able to kill a long running command - SIGQUIT', function(done) {
it('should be able to kill a long running command - SIGINT', function(done) {
var flow = [{id:"n1",type:"exec",wires:[["n2"],["n3"],["n4"]],command:"sleep", addpay:false, append:"1", timer:"2"},
{id:"n2", type:"helper"},{id:"n3", type:"helper"},{id:"n4", type:"helper"}];
helper.load(execNode, flow, function() {
@ -551,11 +551,11 @@ describe('exec node', function() {
n4.on("input", function(msg) {
msg.should.have.property("payload");
msg.payload.should.have.property("killed",true);
//msg.payload.should.have.property("signal","SIGQUIT");
//msg.payload.should.have.property("signal","SIGINT");
done();
});
setTimeout(function() {
n1.receive({kill:"SIGQUIT"});
n1.receive({kill:"SIGINT"});
},150);
n1.receive({});
});