MXS-2121: Allow destruction of static listeners

If a listener is defined in a static configuration file, it can now be
destroyed at runtime. If MaxScale is restarted, the listener will be
created again unless the configuration file is modified.
This commit is contained in:
Markus Mäkelä
2018-10-29 15:56:45 +02:00
parent 906d8cee5b
commit 47d2898818
3 changed files with 11 additions and 12 deletions

View File

@ -137,7 +137,7 @@ describe("Create/Destroy Commands", function() {
it('will not destroy static listener', function() {
return doCommand('destroy listener RW-Split-Router RW-Split-Listener')
.should.be.rejected
.should.be.fulfilled
})
it('create user', function() {