MXS-1929: Update unit tests with monitor changes

The user is a mandatory parameter and needs to be passed when a monitor is
created.
This commit is contained in:
Markus Mäkelä
2018-08-22 23:29:25 +03:00
parent 1f8ed106b3
commit 8cfc966561
3 changed files with 29 additions and 10 deletions

View File

@ -7,7 +7,7 @@ describe("Create/Destroy Commands", function() {
before(startMaxScale)
it('create monitor', function() {
return verifyCommand('create monitor my-monitor mysqlmon', 'monitors/my-monitor')
return verifyCommand('create monitor my-monitor mysqlmon user=maxuser password=maxpwd', 'monitors/my-monitor')
.should.be.fulfilled
})