Comparing version 0.5.1 to 0.5.2
@@ -221,3 +221,3 @@ // Load modules | ||
Request({ method: 'post', uri: uri, json: envelope }); // Ignore errors | ||
Request({ method: 'post', uri: uri, json: envelope }, function () { }); // Ignore errors | ||
}); | ||
@@ -224,0 +224,0 @@ }; |
{ | ||
"name": "good", | ||
"description": "Server and process monitoring plugin", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": "Van Nguyen <the.gol.effect@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors":[ |
@@ -352,2 +352,26 @@ // Load modules | ||
}); | ||
it('doesn\'t fail when a remote subscriber is unavailable', function (done) { | ||
var options = { | ||
subscribers: { | ||
'http://notfound/server': { events: ['log'] } | ||
} | ||
}; | ||
makePack(function (pack, server) { | ||
var monitor = new Monitor(pack, options); | ||
expect(monitor._eventQueues.log).to.exist; | ||
server.log('ERROR', 'included in output'); | ||
monitor._broadcastHttp(); | ||
setTimeout(function () { | ||
done(); | ||
}, 100); | ||
}); | ||
}); | ||
}); | ||
@@ -354,0 +378,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115011
1577