MXS-3013: Add reload service MaxCtrl command
The command currently reloads the users of a service but it can be used to reload other parts of it as well (e.g. encryption keys).
This commit is contained in:
12
maxctrl/test/reload.js
Normal file
12
maxctrl/test/reload.js
Normal file
@ -0,0 +1,12 @@
|
||||
require('../test_utils.js')()
|
||||
|
||||
describe("Reload Commands", function() {
|
||||
before(startMaxScale)
|
||||
|
||||
it('reload service', function() {
|
||||
return doCommand('reload service RW-Split-Router')
|
||||
.should.be.fulfilled
|
||||
});
|
||||
|
||||
after(stopMaxScale)
|
||||
});
|
Reference in New Issue
Block a user