MXS-1300: Test cluster diff functionality
The `cluster diff` command is now tested by doing add/alter/remove operations on servers. As the same methods are used for all objects, they should detect all sorts of modifications between two Maxscales.
This commit is contained in:
@ -70,9 +70,7 @@ module.exports = function() {
|
||||
// Execute a single MaxCtrl command, returns a Promise
|
||||
this.doCommand = function(command) {
|
||||
var ctrl = require('./lib/core.js')
|
||||
var opts = { extra_args: [ '--quiet'] }
|
||||
|
||||
return ctrl.execute(command.split(' '), opts)
|
||||
return ctrl.execute(command.split(' '))
|
||||
}
|
||||
|
||||
// Execute a single MaxCtrl command and request a resource via the REST API,
|
||||
|
||||
Reference in New Issue
Block a user