mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC
This commit is contained in:
parent
500baea9b6
commit
a68de9acb6
|
|
@ -902,7 +902,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
|
|||
# 1. Scaling operation should be successful
|
||||
|
||||
hypervisor = get_hypervisor_type(self.apiclient)
|
||||
if hypervisor.lower() in ["kvm", "hyperv"]:
|
||||
if hypervisor.lower() in ["kvm", "hyperv", 'lxc']:
|
||||
self.skipTest(
|
||||
"Scaling VM in running state is not supported on %s" % hypervisor)
|
||||
|
||||
|
|
@ -979,7 +979,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
|
|||
# 2. Scale operation in step 6 should fail
|
||||
|
||||
hypervisor = get_hypervisor_type(self.apiclient)
|
||||
if hypervisor.lower() in ["kvm", "hyperv"]:
|
||||
if hypervisor.lower() in ["kvm", "hyperv", 'lxc']:
|
||||
self.skipTest(
|
||||
"Scaling VM in running state is not supported on %s" % hypervisor)
|
||||
|
||||
|
|
@ -1079,7 +1079,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
|
|||
# Validations:
|
||||
# 1. Scale operation in step 4 should be successful
|
||||
hypervisor = get_hypervisor_type(self.apiclient)
|
||||
if hypervisor.lower() in ["kvm", "hyperv"]:
|
||||
if hypervisor.lower() in ["kvm", "hyperv", 'lxc']:
|
||||
self.skipTest(
|
||||
"Scaling VM in running state is not supported on %s" % hypervisor)
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||
from marvin.lib.utils import cleanup_resources
|
||||
from marvin.lib.base import (Account,
|
||||
ServiceOffering,
|
||||
|
|
@ -141,6 +141,9 @@ class TestVMPasswordEnabled(cloudstackTestCase):
|
|||
)
|
||||
|
||||
networkid = cls.virtual_machine.nic[0].networkid
|
||||
cls.hypervisor = cls.testClient.getHypervisorInfo()
|
||||
if cls.hypervisor.lower() in ['lxc']:
|
||||
raise unittest.SkipTest("template creation is not supported on %s" % cls.hypervisor)
|
||||
|
||||
# create egress rule to allow wget of my cloud-set-guest-password
|
||||
# script
|
||||
|
|
|
|||
Loading…
Reference in New Issue