Permalink
Browse files

Fix failing tests

  • Loading branch information...
1 parent 077d9cd commit d155428f662378ef4856dddcab7990fe16c347a8 Andrew McDermott committed Jan 11, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 provider/maas/environ_whitebox_test.go
@@ -1341,6 +1341,8 @@ func (suite *environSuite) TestSubnetsNoDuplicates(c *gc.C) {
}
func (suite *environSuite) TestAllocateAddress(c *gc.C) {
+ suite.testMAASObject.TestServer.SetVersionJSON(`{"capabilities": ["networks-management","static-ipaddresses"]}`)
+
testInstance := suite.createSubnets(c, false)
env := suite.makeEnviron()
@@ -1627,6 +1629,7 @@ func (suite *environSuite) TestReleaseAddress(c *gc.C) {
}
func (suite *environSuite) TestReleaseAddressRetry(c *gc.C) {
+ suite.testMAASObject.TestServer.SetVersionJSON(`{"capabilities": ["networks-management","static-ipaddresses"]}`)
// Patch short attempt params.
suite.PatchValue(&shortAttempt, utils.AttemptStrategy{
Min: 5,

0 comments on commit d155428

Please sign in to comment.