Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[test] first working test version

  • Loading branch information...
commit 3e439e3769c224e2edd88925324b622290603035 1 parent d9fe2d7
@dscape authored
View
18 lib/winston-statsd.js
@@ -34,16 +34,18 @@ var Statsd = exports.Statsd = function (options) {
//
// hostname is required
//
- if (typeof options.hostname !== 'string') {
- throw new Error('hostname is a required option to use winston-statsd');
- }
+ options.hostname = typeof options.hostname !== 'string'
+ ? 'localhost'
+ : options.hostname
+ ;
//
// port is required
//
- if (typeof options.port !== number) {
- throw new Error('port is a required option to use winston-statsd');
- }
+ options.port = typeof options.port !== 'number'
+ ? 8125
+ : options.port
+ ;
//
// choose separator to be used, e.g. if `:`
@@ -74,7 +76,7 @@ var Statsd = exports.Statsd = function (options) {
//
// creates a new client connection to `statsd`
//
- this.client = new lynx('localhost', 8125, options);
+ this.client = new lynx(options.hostname, options.port, options);
//
// we are now ready to go
@@ -243,6 +245,6 @@ Statsd.prototype.log = function (level, msg, meta, callback) {
else {
this.client.send(metrics);
}
-
+
this.emit('logged');
};
View
6 package.json
@@ -20,6 +20,10 @@
"author": "nuno job <nunojobpinto@gmail.com> (http://nunojob.com)",
"license": "mit",
"dependencies": {
- "lynx": "0.0.11"
+ "lynx": "~0.0.11",
+ "winston": "~0.6.2"
+ },
+ "devDependecies": {
+ "tap": "~0.3.3"
}
}
View
971 tests/fixtures/master.json
@@ -1,865 +1,206 @@
-[ "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.init:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
+[ "error.app.destroy:1|c"
+, "users.charlie.error.app.destroy:1|c"
+, "apps.charlie.nosuchapp.error.app.destroy:1|c"
+, "error.app.destroy:1|c"
+, "users.invalid_sauce.error.app.destroy:1|c"
+, "apps.invalid_sauce.test.error.app.destroy:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.marak.error.app.show:1|c"
+, "apps.marak.INVALID_SAUCE.error.app.show:1|c"
+, "errors.marak.INVALID_SAUCE.not_found.error.app.show:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.charlie.error.app.show:1|c"
+, "apps.charlie.chat.error.app.show:1|c"
+, "errors.charlie.chat.not_found.error.app.show:1|c"
+, "error.app.show:1|c"
+, "error.app.show.not_found:1|c"
+, "users.invalid_sauce.error.app.show:1|c"
+, "apps.invalid_sauce.test.error.app.show:1|c"
+, "errors.invalid_sauce.test.not_found.error.app.show:1|c"
+, "error.app.slave.tell:1|c"
+, "error.app.slave.tell.connect_econnrefused:1|c"
+, "users.marak.error.app.slave.tell:1|c"
+, "apps.marak.test.error.app.slave.tell:1|c"
+, "errors.marak.test.connect_econnrefused.error.app.slave.tell:1|c"
+, "error.error.service:1|c"
+, "error.error.service.cannot_restart_application_that_is_not_running:1|c"
+, "info.app.begin.all:1|c"
+, "users.marak.info.app.begin.all:1|c"
+, "apps.marak.envvars.info.app.begin.all:1|c"
+, "info.app.create.begin:1|c"
+, "users.charlie.info.app.create.begin:1|c"
+, "apps.charlie.test.info.app.create.begin:1|c"
+, "info.app.create.success:1|c"
+, "users.charlie.info.app.create.success:1|c"
+, "apps.charlie.test.info.app.create.success:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.nosuchapp.info.app.destroy.begin:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.charlie.info.app.destroy.begin:1|c"
+, "apps.charlie.test.info.app.destroy.begin:1|c"
+, "info.app.destroy.begin:1|c"
+, "users.invalid_sauce.info.app.destroy.begin:1|c"
+, "apps.invalid_sauce.test.info.app.destroy.begin:1|c"
+, "info.app.destroy.success:1|c"
+, "users.charlie.info.app.destroy.success:1|c"
+, "apps.charlie.test.info.app.destroy.success:1|c"
, "info.app.list.begin:1|c"
-, "users.marak.info.app.list.begin:1|c"
-, "info.user.get:1|c"
+, "users.charlie.info.app.list.begin:1|c"
, "info.app.list.begin:1|c"
, "users.nodejitsu.info.app.list.begin:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
, "info.app.list.success:1|c"
-, "users.marak.info.app.list.success:1|c"
+, "users.charlie.info.app.list.success:1|c"
, "info.app.list.success:1|c"
, "users.nodejitsu.info.app.list.success:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
+, "info.app.provision.begin:1|c"
+, "users.marak.info.app.provision.begin:1|c"
+, "apps.marak.envvars.info.app.provision.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.marak.info.app.show.begin:1|c"
+, "apps.marak.INVALID_SAUCE.info.app.show.begin:1|c"
+, "info.app.show.begin:1|c"
+, "users.invalid_sauce.info.app.show.begin:1|c"
+, "apps.invalid_sauce.test.info.app.show.begin:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.badapp.info.app.slave.tell:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.badapp.info.app.slave.tell:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.envvars.info.app.slave.tell:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "info.app.slave.tell:1|c"
+, "users.marak.info.app.slave.tell:1|c"
+, "apps.marak.test.info.app.slave.tell:1|c"
+, "info.app.slave.tell.success:1|c"
+, "users.marak.info.app.slave.tell.success:1|c"
+, "apps.marak.envvars.info.app.slave.tell.success:1|c"
+, "info.app.start.begin:1|c"
+, "users.charlie.info.app.start.begin:1|c"
+, "apps.charlie.chat.info.app.start.begin:1|c"
+, "info.app.start.begin:1|c"
+, "users.marak.info.app.start.begin:1|c"
+, "apps.marak.envvars.info.app.start.begin:1|c"
+, "info.app.start.success:1|c"
+, "users.marak.info.app.start.success:1|c"
+, "apps.marak.envvars.info.app.start.success:1|c"
+, "info.app.update.begin:1|c"
+, "users.charlie.info.app.update.begin:1|c"
+, "apps.charlie.chat.info.app.update.begin:1|c"
+, "info.app.stop.begin:1|c"
+, "users.marak.info.app.stop.begin:1|c"
+, "apps.marak.envvars.info.app.stop.begin:1|c"
+, "info.app.update.begin:1|c"
+, "users.charlie.info.app.update.begin:1|c"
+, "apps.charlie.test.info.app.update.begin:1|c"
+, "info.app.update.success:1|c"
+, "users.charlie.info.app.update.success:1|c"
+, "apps.charlie.chat.info.app.update.success:1|c"
+, "info.app.update.success:1|c"
+, "users.charlie.info.app.update.success:1|c"
+, "apps.charlie.test.info.app.update.success:1|c"
+, "info.drone.port:1|c"
+, "info.drone.port:1|c"
+, "info.drone.port:1|c"
+, "info.drone.port:1|c"
+, "info.drone.port:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.start:1|c"
+, "info.drone.stop:1|c"
+, "info.drone.stop:1|c"
+, "info.drone.stop:1|c"
+, "info.npm.install.none:1|c"
+, "users.marak.info.npm.install.none:1|c"
+, "apps.marak.envvars.info.npm.install.none:1|c"
+, "info.repo.dir.app.create:1|c"
+, "users.marak.info.repo.dir.app.create:1|c"
+, "apps.marak.envvars.info.repo.dir.app.create:1|c"
+, "info.repo.dir.app.success:1|c"
+, "users.marak.info.repo.dir.app.success:1|c"
+, "apps.marak.envvars.info.repo.dir.app.success:1|c"
+, "info.repo.dir.exists:1|c"
+, "users.marak.info.repo.dir.exists:1|c"
+, "apps.marak.envvars.info.repo.dir.exists:1|c"
+, "info.repo.dir.user.create:1|c"
+, "users.marak.info.repo.dir.user.create:1|c"
+, "apps.marak.envvars.info.repo.dir.user.create:1|c"
+, "info.repo.dir.user.success:1|c"
+, "users.marak.info.repo.dir.user.success:1|c"
+, "apps.marak.envvars.info.repo.dir.user.success:1|c"
+, "info.repository.create:1|c"
+, "users.marak.info.repository.create:1|c"
+, "apps.marak.envvars.info.repository.create:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
+, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.create.begin:1|c"
-, "users.charlie.info.app.create.begin:1|c"
-, "apps.charlie.chat.info.app.create.begin:1|c"
, "info.service.incoming:1|c"
-, "info.app.create.success:1|c"
-, "users.charlie.info.app.create.success:1|c"
-, "apps.charlie.chat.info.app.create.success:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.nosuchapp.info.app.show.begin:1|c"
-, "info.user.get:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.user.get:1|c"
-, "info.app.list.begin:1|c"
-, "users.charlie.info.app.list.begin:1|c"
-, "info.user.get:1|c"
-, "info.app.create.begin:1|c"
-, "users.charlie.info.app.create.begin:1|c"
-, "apps.charlie.chat.info.app.create.begin:1|c"
-, "error.app.show:1|c"
-, "error.app.show.not_found:1|c"
-, "users.charlie.error.app.show:1|c"
-, "apps.charlie.nosuchapp.error.app.show:1|c"
-, "errors.charlie.nosuchapp.not_found.error.app.show:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.chat.info.app.show.success:1|c"
-, "info.app.list.success:1|c"
-, "users.charlie.info.app.list.success:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.update.begin:1|c"
-, "users.charlie.info.app.update.begin:1|c"
-, "apps.charlie.chat.info.app.update.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.chat.info.app.show.success:1|c"
-, "info.app.update.success:1|c"
-, "users.charlie.info.app.update.success:1|c"
-, "apps.charlie.chat.info.app.update.success:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.destroy.begin:1|c"
-, "users.charlie.info.app.destroy.begin:1|c"
-, "apps.charlie.chat.info.app.destroy.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.chat.info.app.show.success:1|c"
-, "info.app.destroy.success:1|c"
-, "users.charlie.info.app.destroy.success:1|c"
-, "apps.charlie.chat.info.app.destroy.success:1|c"
, "info.service.incoming:1|c"
, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.user.get:1|c"
-, "info.app.destroy.begin:1|c"
-, "users.charlie.info.app.destroy.begin:1|c"
-, "apps.charlie.nosuchapp.info.app.destroy.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.nosuchapp.info.app.show.begin:1|c"
-, "error.app.show:1|c"
-, "error.app.show.not_found:1|c"
-, "users.charlie.error.app.show:1|c"
-, "apps.charlie.chat.error.app.show:1|c"
-, "errors.charlie.chat.not_found.error.app.show:1|c"
-, "error.app.show:1|c"
-, "error.app.show.not_found:1|c"
-, "users.charlie.error.app.show:1|c"
-, "apps.charlie.nosuchapp.error.app.show:1|c"
-, "errors.charlie.nosuchapp.not_found.error.app.show:1|c"
-, "error.app.destroy:1|c"
-, "users.charlie.error.app.destroy:1|c"
-, "apps.charlie.nosuchapp.error.app.destroy:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.start:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.badapp.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.badapp.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.badapp.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.badapp.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.badapp.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.badapp.info.app.slave.tell:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.badapp.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.badapp.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.badapp.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.badapp.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.badapp.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.badapp.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.badapp.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.badapp.info.npm.install.none:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.badapp.info.spawn.setup:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.badapp.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.stop:1|c"
-, "info.drone.start:1|c"
-, "error.error.service:1|c"
-, "error.error.service.error_spawning_drone:1|c"
-, "error.app.slave.tell:1|c"
-, "error.app.slave.tell.haibu_error_500_internal_server_error:1|c"
-, "users.marak.error.app.slave.tell:1|c"
-, "apps.marak.badapp.error.app.slave.tell:1|c"
-, "errors.marak.badapp.haibu_error_500_internal_server_error.error.app.slave.tell:1|c"
-, "info.drone.clean.warning:1|c"
-, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
-, "info.user.get:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.envvars.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.envvars.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.envvars.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.envvars.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.envvars.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.envvars.info.app.slave.tell:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.envvars.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.envvars.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.envvars.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.envvars.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.envvars.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.envvars.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.envvars.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.envvars.info.npm.install.none:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.envvars.info.spawn.setup:1|c"
+, "info.spawn.begin:1|c"
+, "users.marak.info.spawn.begin:1|c"
+, "apps.marak.badapp.info.spawn.begin:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.envvars.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.port:1|c"
-, "info.app.slave.tell.success:1|c"
-, "users.marak.info.app.slave.tell.success:1|c"
-, "apps.marak.envvars.info.app.slave.tell.success:1|c"
-, "info.user.get:1|c"
-, "info.app.start.success:1|c"
-, "users.marak.info.app.start.success:1|c"
-, "apps.marak.envvars.info.app.start.success:1|c"
-, "info.app.stop.begin:1|c"
-, "users.marak.info.app.stop.begin:1|c"
-, "apps.marak.envvars.info.app.stop.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.envvars.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.envvars.info.app.show.success:1|c"
-, "info.drone.clean.warning:1|c"
-, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.test.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.test.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.test.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.test.info.app.slave.tell:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.test.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.test.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.test.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.test.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.test.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.test.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.test.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.test.info.npm.install.none:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.test.info.spawn.setup:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.test.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.port:1|c"
-, "info.app.slave.tell.success:1|c"
-, "users.marak.info.app.slave.tell.success:1|c"
-, "apps.marak.test.info.app.slave.tell.success:1|c"
-, "info.user.get:1|c"
-, "info.app.start.success:1|c"
-, "users.marak.info.app.start.success:1|c"
-, "apps.marak.test.info.app.start.success:1|c"
-, "info.app.restart.begin:1|c"
-, "users.marak.info.app.restart.begin:1|c"
-, "apps.marak.test.info.app.restart.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.drone.stop:1|c"
-, "info.drone.start:1|c"
-, "info.app.stop.begin:1|c"
-, "users.marak.info.app.stop.begin:1|c"
-, "apps.marak.test.info.app.stop.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.drone.clean.warning:1|c"
-, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.app.list.begin:1|c"
-, "users.marak.info.app.list.begin:1|c"
-, "info.app.create.begin:1|c"
-, "users.charlie.info.app.create.begin:1|c"
-, "apps.charlie.test.info.app.create.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.INVALID_SAUCE.info.app.show.begin:1|c"
-, "error.app.show:1|c"
-, "error.app.show.not_found:1|c"
-, "users.marak.error.app.show:1|c"
-, "apps.marak.INVALID_SAUCE.error.app.show:1|c"
-, "errors.marak.INVALID_SAUCE.not_found.error.app.show:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.app.list.success:1|c"
-, "users.marak.info.app.list.success:1|c"
-, "info.app.create.success:1|c"
-, "users.charlie.info.app.create.success:1|c"
-, "apps.charlie.test.info.app.create.success:1|c"
-, "info.app.update.begin:1|c"
-, "users.charlie.info.app.update.begin:1|c"
-, "apps.charlie.test.info.app.update.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.test.info.app.show.success:1|c"
-, "info.app.update.success:1|c"
-, "users.charlie.info.app.update.success:1|c"
-, "apps.charlie.test.info.app.update.success:1|c"
-, "info.app.destroy.begin:1|c"
-, "users.charlie.info.app.destroy.begin:1|c"
-, "apps.charlie.test.info.app.destroy.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.test.info.app.show.begin:1|c"
-, "info.app.destroy.begin:1|c"
-, "users.invalid_sauce.info.app.destroy.begin:1|c"
-, "apps.invalid_sauce.test.info.app.destroy.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.invalid_sauce.info.app.show.begin:1|c"
-, "apps.invalid_sauce.test.info.app.show.begin:1|c"
-, "error.app.show:1|c"
-, "error.app.show.not_found:1|c"
-, "users.invalid_sauce.error.app.show:1|c"
-, "apps.invalid_sauce.test.error.app.show:1|c"
-, "errors.invalid_sauce.test.not_found.error.app.show:1|c"
-, "error.app.destroy:1|c"
-, "users.invalid_sauce.error.app.destroy:1|c"
-, "apps.invalid_sauce.test.error.app.destroy:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.test.info.app.show.success:1|c"
-, "info.app.destroy.success:1|c"
-, "users.charlie.info.app.destroy.success:1|c"
-, "apps.charlie.test.info.app.destroy.success:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.start:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.test.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.test.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.test.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.test.info.app.slave.tell:1|c"
-, "error.app.slave.tell:1|c"
-, "error.app.slave.tell.connect_econnrefused:1|c"
-, "users.marak.error.app.slave.tell:1|c"
-, "apps.marak.test.error.app.slave.tell:1|c"
-, "errors.marak.test.connect_econnrefused.error.app.slave.tell:1|c"
-, "info.user.get:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.test.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.test.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.test.info.app.slave.tell:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.test.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.test.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.test.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.test.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.test.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.test.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.test.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.test.info.npm.install.none:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.test.info.spawn.setup:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.test.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.port:1|c"
-, "info.app.slave.tell.success:1|c"
-, "users.marak.info.app.slave.tell.success:1|c"
-, "apps.marak.test.info.app.slave.tell.success:1|c"
-, "info.user.get:1|c"
-, "info.app.start.success:1|c"
-, "users.marak.info.app.start.success:1|c"
-, "apps.marak.test.info.app.start.success:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.test.info.repository.create:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.test.info.repo.dir.exists:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.test.info.spawn.setup:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.test.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.port:1|c"
-, "info.start:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.create.begin:1|c"
-, "users.charlie.info.app.create.begin:1|c"
-, "apps.charlie.chat.info.app.create.begin:1|c"
-, "info.app.create.success:1|c"
-, "users.charlie.info.app.create.success:1|c"
-, "apps.charlie.chat.info.app.create.success:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.test.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.user.get:1|c"
-, "info.app.start.begin:1|c"
-, "users.charlie.info.app.start.begin:1|c"
-, "apps.charlie.chat.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.test.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.test.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.test.info.app.slave.tell:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.chat.info.app.show.success:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.test.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.test.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.test.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.test.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.test.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.test.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.test.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.test.info.npm.install.none:1|c"
-, "info.spawn.setup:1|c"
-, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.test.info.spawn.setup:1|c"
, "info.spawn.begin:1|c"
, "users.marak.info.spawn.begin:1|c"
, "apps.marak.test.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.port:1|c"
-, "info.app.slave.tell.success:1|c"
-, "users.marak.info.app.slave.tell.success:1|c"
-, "apps.marak.test.info.app.slave.tell.success:1|c"
-, "info.user.get:1|c"
-, "info.app.start.success:1|c"
-, "users.marak.info.app.start.success:1|c"
-, "apps.marak.test.info.app.start.success:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.restart.begin:1|c"
-, "users.marak.info.app.restart.begin:1|c"
-, "apps.marak.test.info.app.restart.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "error.error.service:1|c"
-, "error.error.service.cannot_restart_application_that_is_not_running:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.stop.begin:1|c"
-, "users.marak.info.app.stop.begin:1|c"
-, "apps.marak.test.info.app.stop.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.destroy.begin:1|c"
-, "users.charlie.info.app.destroy.begin:1|c"
-, "apps.charlie.chat.info.app.destroy.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.charlie.info.app.show.begin:1|c"
-, "apps.charlie.chat.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.charlie.info.app.show.success:1|c"
-, "apps.charlie.chat.info.app.show.success:1|c"
-, "info.app.destroy.success:1|c"
-, "users.charlie.info.app.destroy.success:1|c"
-, "apps.charlie.chat.info.app.destroy.success:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.start.begin:1|c"
-, "users.marak.info.app.start.begin:1|c"
-, "apps.marak.badapp.info.app.start.begin:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.badapp.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.badapp.info.app.show.success:1|c"
-, "info.app.provision.begin:1|c"
-, "users.marak.info.app.provision.begin:1|c"
-, "apps.marak.badapp.info.app.provision.begin:1|c"
-, "info.app.begin.all:1|c"
-, "users.marak.info.app.begin.all:1|c"
-, "apps.marak.badapp.info.app.begin.all:1|c"
-, "info.app.slave.tell:1|c"
-, "users.marak.info.app.slave.tell:1|c"
-, "apps.marak.badapp.info.app.slave.tell:1|c"
-, "info.drone.cleanAll.end:1|c"
-, "info.repository.create:1|c"
-, "users.marak.info.repository.create:1|c"
-, "apps.marak.badapp.info.repository.create:1|c"
-, "warn.repo.dir.notfound:1|c"
-, "users.marak.warn.repo.dir.notfound:1|c"
-, "apps.marak.badapp.warn.repo.dir.notfound:1|c"
-, "info.repo.dir.user.create:1|c"
-, "users.marak.info.repo.dir.user.create:1|c"
-, "apps.marak.badapp.info.repo.dir.user.create:1|c"
-, "info.repo.dir.user.success:1|c"
-, "users.marak.info.repo.dir.user.success:1|c"
-, "apps.marak.badapp.info.repo.dir.user.success:1|c"
-, "info.repo.dir.app.create:1|c"
-, "users.marak.info.repo.dir.app.create:1|c"
-, "apps.marak.badapp.info.repo.dir.app.create:1|c"
-, "info.repo.dir.app.success:1|c"
-, "users.marak.info.repo.dir.app.success:1|c"
-, "apps.marak.badapp.info.repo.dir.app.success:1|c"
-, "info.tar.get:1|c"
-, "users.marak.info.tar.get:1|c"
-, "info.repo.dir.exists:1|c"
-, "users.marak.info.repo.dir.exists:1|c"
-, "apps.marak.badapp.info.repo.dir.exists:1|c"
-, "info.npm.load:1|c"
-, "info.npm.install.none:1|c"
-, "users.marak.info.npm.install.none:1|c"
-, "apps.marak.badapp.info.npm.install.none:1|c"
, "info.spawn.setup:1|c"
, "users.marak.info.spawn.setup:1|c"
-, "apps.marak.badapp.info.spawn.setup:1|c"
-, "info.spawn.begin:1|c"
-, "users.marak.info.spawn.begin:1|c"
-, "apps.marak.badapp.info.spawn.begin:1|c"
-, "info.drone.start:1|c"
-, "info.drone.stop:1|c"
-, "info.drone.start:1|c"
-, "error.error.service:1|c"
-, "error.error.service.error_spawning_drone:1|c"
-, "error.app.slave.tell:1|c"
-, "error.app.slave.tell.haibu_error_500_internal_server_error:1|c"
-, "users.marak.error.app.slave.tell:1|c"
-, "apps.marak.badapp.error.app.slave.tell:1|c"
-, "errors.marak.badapp.haibu_error_500_internal_server_error.error.app.slave.tell:1|c"
-, "info.drone.clean.warning:1|c"
-, "info.drone.clean.warning.cannot_stop_application_that_is_not_running:1|c"
-, "info.user.get:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.user.get:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.start:1|c"
-, "info.service.incoming:1|c"
-, "info.user.get:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.app.show.begin:1|c"
-, "users.marak.info.app.show.begin:1|c"
-, "apps.marak.test.info.app.show.begin:1|c"
-, "info.app.show.success:1|c"
-, "users.marak.info.app.show.success:1|c"
-, "apps.marak.test.info.app.show.success:1|c"
-, "info.plugin.set_resourceful.init:1|c"
-, "info.plugin.resourceful.init:1|c"
-, "info.plugin.mailer.init:1|c"
-, "info.plugin.http_users.init:1|c"
-, "info.plugin.restful.init:1|c"
-, "info.plugin.nodejitsu_billing.init:1|c"
-, "info.plugin.unauthorized_user_create.init:1|c"
-, "info.plugin.directories.init:1|c"
-, "info.init:1|c"
-, "info.service.incoming:1|c"
+, "apps.marak.envvars.info.spawn.setup:1|c"
+, "info.tar.get:1|c"
+, "users.marak.info.tar.get:1|c"
, "info.user.create:1|c"
, "users.benji.info.user.create:1|c"
+, "info.user.get:1|c"
+, "warn.repo.dir.notfound:1|c"
+, "users.marak.warn.repo.dir.notfound:1|c"
+, "apps.marak.envvars.warn.repo.dir.notfound:1|c"
]
View
91 tests/macros.js
@@ -1,8 +1,10 @@
-var path = require('path')
- , dgram = require('dgram')
- , test = require('tap').test
- , lynx = require('lynx')
- , macros = exports
+var path = require('path')
+ , dgram = require('dgram')
+ , test = require('tap').test
+ , lynx = require('lynx')
+ , winston = require('winston')
+ , wstatsd = require('../lib/winston-statsd')
+ , macros = exports
;
//
@@ -11,9 +13,14 @@ var path = require('path')
macros.udp_server_port = 9753;
//
-// create a connection
+// instantiate our logger
//
-macros.connection = new lynx('localhost', macros.udp_server_port);
+macros.logger = new (winston.Logger)(
+ { transports:
+ [ new (winston.transports.Statsd)(
+ { hostname: 'localhost', port: macros.udp_server_port } )
+ ]
+ });
//
// ### function udp_server(on_message)
@@ -68,42 +75,47 @@ macros.udp_fixtures_server = function (test_name, t, on_test) {
//
var socket = macros.udp_server(function (message, remote) {
//
- // we got another one
- //
- i_requests++;
-
- //
// `remote.address` for remote address
// `remote.port` for remote port
// `remote.size` for data lenght
// `message.toString('ascii', 0, remote.size)` for textual contents
//
- var actual = macros.parse_message(message, remote.size)
- , i_expected = fixture.indexOf(actual)
- ;
+ var full_msg = macros.parse_message(message, remote.size);
//
- // found it
+ // messages can be grouped and newline separated
//
- if (~i_expected) {
- var expected = fixture[i_expected];
-
+ full_msg.split('\n').forEach(function (actual) {
//
- // remove the found item from fixture to test
+ // we got another one
//
- fixture.splice(i_expected, 1);
+ i_requests++;
+
+ var i_expected = fixture.indexOf(actual);
//
- // return our test results
+ // found it
//
- on_test(true, {expected: expected, actual: actual, remaining: fixture});
- }
- //
- // we didn't find that response in the response array
- //
- else {
- on_test(false, { expected: null, actual: actual, remaining: fixture});
- }
+ if (~i_expected) {
+ var expected = fixture[i_expected];
+
+ //
+ // remove the found item from fixture to test
+ //
+ fixture.splice(i_expected, 1);
+
+ //
+ // return our test results
+ //
+ on_test(true, {expected: expected, actual: actual, remaining: fixture});
+ }
+ //
+ // we didn't find that response in the response array
+ //
+ else {
+ on_test(false, { expected: null, actual: actual, remaining: fixture});
+ }
+ });
//
// if we are done
@@ -123,6 +135,13 @@ macros.udp_fixtures_server = function (test_name, t, on_test) {
};
//
+//
+//
+macros.args_for_fixtures = function args_for_fixtures(resource) {
+ return require('./fixtures/' + resource + '-args');
+};
+
+//
// ### function match_fixtures_test(resource, f)
//
// #### @resource {string} the resource we are testing
@@ -137,8 +156,6 @@ macros.udp_fixtures_server = function (test_name, t, on_test) {
// 2.2. runs client code that should match what has been mocked
//
macros.match_fixtures_test = function match_fixtures_test(resource, f) {
- var current_fixture = require('./fixtures/' + resource);
-
//
// all of our counting tests
//
@@ -166,15 +183,7 @@ macros.match_fixtures_test = function match_fixtures_test(resource, f) {
}
});
- //
- // run our client code
- //
- if(resource === 'scopes') {
- macros.connection.close();
- macros.connection = new lynx('localhost', macros.udp_server_port, {
- scope: 'scope' });
- }
- f(macros.connection);
+ f(macros.logger);
});
};
View
10 tests/master-tests.js
@@ -4,9 +4,9 @@ var macros = require('./macros');
// Our `master` tests
// should match `tests/fixtures/master.json`
//
-macros.matchFixturesTest('master', function runTest(connection) {
- connection.increment('foo.bar');
- connection.decrement('foo.baz');
- connection.decrement(['uno', 'two', 'trezentos']);
- connection.count('boaz', 101);
+macros.match_fixtures_test('master', function runTest(logger) {
+ macros.args_for_fixtures('master').forEach(function (arg) {
+ arg.length = 3;
+ logger.log.apply(logger, [].slice.call(arg, 0));
+ });
});
Please sign in to comment.
Something went wrong with that request. Please try again.