MXS-1300: Improve test coverage

The tests now cover 100% of all source files with the exception of the
call.js and common.js source files.
This commit is contained in:
Markus Mäkelä
2017-07-22 02:53:39 +03:00
parent 090de1a0f7
commit c9f3d014d6
11 changed files with 109 additions and 27 deletions

12
maxctrl/test/rotate.js Normal file
View File

@ -0,0 +1,12 @@
require('../test_utils.js')()
describe("Rotate Commands", function() {
before(startMaxScale)
it('rotate logs', function() {
return doCommand('rotate logs')
.should.be.fulfilled
});
after(stopMaxScale)
});