Fix MaxCtrl list servers
test
The test did not expect GTIDs to be displayed.
This commit is contained in:
parent
a11d83679e
commit
f1905d33b1
@ -52,7 +52,12 @@ describe("MXS-1656: `list servers` with GTIDs", function() {
|
||||
// empty strings. This is because the test setup uses file and position based
|
||||
// replication.
|
||||
res = res.split('\n').map(i => i.split('\t')).map(i => i[5])
|
||||
_.uniq(res).should.deep.equal([''])
|
||||
var pos = _.uniq(res)[0]
|
||||
if (pos.length) {
|
||||
pos.should.match(/[0-9]*-[0-9]*-[0-9]*/)
|
||||
} else {
|
||||
pos.should.equal('')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user