From 291e625785045bc0de8fcaeaa6d3c1b211256a7f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 4 May 2016 15:18:40 -0700 Subject: [PATCH] skip infra setup for tests (the test does it itself) --- src/addons.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/addons.js b/src/addons.js index ed8383ffe..62aa4d62d 100644 --- a/src/addons.js +++ b/src/addons.js @@ -122,6 +122,8 @@ function debugApp(app, args) { } function initialize(callback) { + if (process.env.BOX_ENV === 'test') return callback(); + debug('initializing addon infrastructure'); shell.sudo('seutp_infra', [ SETUP_INFRA_CMD ], callback); }