Changes for Regression failures

This commit is contained in:
pavan018 2015-07-08 11:05:03 +05:30 committed by sanjeev
parent 7c206c30a5
commit 874445dae3
2 changed files with 17 additions and 3 deletions

View File

@ -663,7 +663,14 @@ class TestRouterRestart(cloudstackTestCase):
# all it's services should resume
# Find router associated with user account
list_router_response = list_routers(
if (self.services['mode'] == "Basic"):
list_router_response = list_routers(
self.apiclient,
zoneid=self.zone.id,
listall=True
)
else:
list_router_response = list_routers(
self.apiclient,
account=self.account.name,
domainid=self.account.domainid
@ -702,7 +709,14 @@ class TestRouterRestart(cloudstackTestCase):
self.apiclient.restartNetwork(cmd)
# Get router details after restart
list_router_response = list_routers(
if (self.services['mode'] == "Basic"):
list_router_response = list_routers(
self.apiclient,
zoneid=self.zone.id,
listall=True
)
else:
list_router_response = list_routers(
self.apiclient,
account=self.account.name,
domainid=self.account.domainid

View File

@ -1052,7 +1052,7 @@ class TestMaxProjectNetworks(cloudstackTestCase):
return
@attr(tags=["advanced", "advancedns", "simulator",
"api", "eip"])
"api"])
def test_maxAccountNetworks(self):
"""Test Limit number of guest account specific networks
"""