mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7897 : Fixed the script test_reset_ssh_keypair.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
5107472a01
commit
a02864ab8b
@ -1065,7 +1065,7 @@ class TestResetSSHKeyUserRights(cloudstackTestCase):
|
|||||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||||
return
|
return
|
||||||
|
|
||||||
@attr(tags=["simulator", "basic", "advanced"])
|
@attr(tags=["basic", "advanced"], required_hardware="true")
|
||||||
def test_01_reset_keypair_normal_user(self):
|
def test_01_reset_keypair_normal_user(self):
|
||||||
"""Verify API resetSSHKeyForVirtualMachine for non admin non root
|
"""Verify API resetSSHKeyForVirtualMachine for non admin non root
|
||||||
domain user"""
|
domain user"""
|
||||||
@ -1183,7 +1183,7 @@ class TestResetSSHKeyUserRights(cloudstackTestCase):
|
|||||||
virtual_machine.delete(self.apiclient, expunge=True)
|
virtual_machine.delete(self.apiclient, expunge=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
@attr(tags=["simulator", "basic", "advanced"])
|
@attr(tags=["basic", "advanced"], required_hardware="true")
|
||||||
def test_02_reset_keypair_domain_admin(self):
|
def test_02_reset_keypair_domain_admin(self):
|
||||||
"""Verify API resetSSHKeyForVirtualMachine for domain admin non root
|
"""Verify API resetSSHKeyForVirtualMachine for domain admin non root
|
||||||
domain user"""
|
domain user"""
|
||||||
@ -1322,7 +1322,7 @@ class TestResetSSHKeyUserRights(cloudstackTestCase):
|
|||||||
virtual_machine.delete(self.apiclient, expunge=True)
|
virtual_machine.delete(self.apiclient, expunge=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
@attr(tags=["simulator", "basic", "advanced"])
|
@attr(tags=["basic", "advanced"], required_hardware="true")
|
||||||
def test_03_reset_keypair_root_admin(self):
|
def test_03_reset_keypair_root_admin(self):
|
||||||
"""Verify API resetSSHKeyForVirtualMachine for domain admin root
|
"""Verify API resetSSHKeyForVirtualMachine for domain admin root
|
||||||
domain user"""
|
domain user"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user