fixed the match action in the yaml tests to follow updated conventions.

This commit is contained in:
Spencer Alger
2014-07-29 22:03:20 -07:00
parent ad489fd5f5
commit 017a554683
3 changed files with 58 additions and 18 deletions

View File

@ -372,16 +372,11 @@ describe('Http Connector', function () {
var server = cp.fork(fixture('keepalive_server.js'))
.on('message', function (port) {
console.log('server sent port number', port);
client.send(port);
})
.once('exit', function () {
console.log('server closed');
});
var client = cp.fork(fixture('keepalive.js'))
.on('message', function (output) {
console.log('client sent output', output);
expect(output).to.have.property('remaining', 0);
expect(output).to.have.property('timeouts', 0);
server.kill('SIGKILL');
@ -395,7 +390,6 @@ describe('Http Connector', function () {
}, 2000);
})
.on('exit', function () {
console.log('client closed');
clearTimeout(timeout);
done();
});