MXS-1300: Make the MaxCtrl core a Node.js module
The core is now a module that is loaded by the command line client. This allows the core library to be reused for testing.
This commit is contained in:
@ -3,7 +3,7 @@ require('../test_utils.js')()
|
||||
describe("Diagnostic commands", function() {
|
||||
before(startMaxScale)
|
||||
|
||||
var ctrl = require('../core.js')
|
||||
var ctrl = require('maxctrl-core')
|
||||
var tests = [
|
||||
'list servers',
|
||||
'list services',
|
||||
|
||||
Reference in New Issue
Block a user