Skip to content

Instantly share code, notes, and snippets.

@porsager
Created February 14, 2017 17:06
Show Gist options
  • Select an option

  • Save porsager/3d525bbcd6af245c29342245bef78c27 to your computer and use it in GitHub Desktop.

Select an option

Save porsager/3d525bbcd6af245c29342245bef78c27 to your computer and use it in GitHub Desktop.
4 failing
1) SCOPED PM2 ACTIONS Test non auth remote commands should restart command via scoped pm2 action (no pass needed):
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
2) SCOPED PM2 ACTIONS Password verification should error when call an action that is password protected:
Uncaught AssertionError: false == true
+ expected - actual
-false
+true
at Plan.ok (/Users/rasmus/Projects/beat/Repositories/pm2/test/helpers/plan.js:23:3)
at ChildProcess.actionCheck (scoped_pm2_actions.mocha.js:142:23)
at process.nextTick (internal/child_process.js:757:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
3) SCOPED PM2 ACTIONS Password verification should fail when password passed but no pm2 password configured:
Uncaught AssertionError: false == true
+ expected - actual
-false
+true
at Plan.ok (/Users/rasmus/Projects/beat/Repositories/pm2/test/helpers/plan.js:23:3)
at ChildProcess.actionCheck (scoped_pm2_actions.mocha.js:142:23)
at process.nextTick (internal/child_process.js:757:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
4) SCOPED PM2 ACTIONS Password verification should fail when wrong password:
Uncaught AssertionError: false == true
+ expected - actual
-false
+true
at Plan.ok (/Users/rasmus/Projects/beat/Repositories/pm2/test/helpers/plan.js:23:3)
at ChildProcess.actionCheck (scoped_pm2_actions.mocha.js:142:23)
at process.nextTick (internal/child_process.js:757:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment