mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
expose multiset function - tests
This commit is contained in:
parent
850e123c9b
commit
5ffd6ff4d8
@ -28,6 +28,7 @@ var PM2_REMOTE_METHOD_ALLOWED = {
|
||||
'stop' : { password_required : true },
|
||||
'delete' : { password_required : true },
|
||||
'set' : { password_required : true },
|
||||
'multiset' : { password_required : true },
|
||||
'deepUpdate' : { password_required : true },
|
||||
|
||||
'pullAndRestart' : { password_optional : true },
|
||||
|
||||
@ -23,6 +23,12 @@ exists 'should NOW have config variable' "config_var: 'false'"
|
||||
$pm2 set echo.probes true
|
||||
|
||||
exists 'should NOW have config variable' "probes: 'true'"
|
||||
should 'should have start 3 apps' 'restart_time: 2' 1
|
||||
|
||||
$pm2 multiset "echo.conf false"
|
||||
|
||||
exists 'should NOW have config variable' "conf: 'false'"
|
||||
should 'should have start 3 apps' 'restart_time: 3' 1
|
||||
|
||||
$pm2 delete all
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user