MXS-2200: Extend REST API tests
Added test cases for static and unknown global parameters.
This commit is contained in:
@ -35,5 +35,15 @@ describe("Core Parameters", function() {
|
|||||||
.should.be.fulfilled
|
.should.be.fulfilled
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it("will not modify static parameters", function() {
|
||||||
|
return set_value("threads", "1")
|
||||||
|
.should.be.rejected
|
||||||
|
})
|
||||||
|
|
||||||
|
it("does not accept unknown parameters", function() {
|
||||||
|
return set_value("quantum_compute", "yes, please")
|
||||||
|
.should.be.rejected
|
||||||
|
})
|
||||||
|
|
||||||
after(stopMaxScale)
|
after(stopMaxScale)
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user