MXS-1300: Resolved the promise for help
commands
The promise returned by the `execute` MaxCtrl library function is now properly resolved also for `help` type commands.
This commit is contained in:
@ -64,6 +64,12 @@ describe("Library invocation", function() {
|
||||
.should.be.rejected
|
||||
})
|
||||
|
||||
it('command help', function() {
|
||||
var opts = { extra_args: [ '--quitet'] }
|
||||
return ctrl.execute('help list'.split(' '), opts)
|
||||
.should.be.fulfilled
|
||||
})
|
||||
|
||||
it('connection failure', function() {
|
||||
stopMaxScale()
|
||||
.then(function() {
|
||||
|
Reference in New Issue
Block a user