Gaurav Aradhye created CLOUDSTACK-8542:
------------------------------------------
Summary: Correct the tests in test_vpc_on_host_maintenance.py and
remove invalid tests
Key: CLOUDSTACK-8542
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8542
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.6.0
Reporter: Gaurav Aradhye
Assignee: Gaurav Aradhye
Fix For: 4.6.0
The test in the test suite is checking that when the hosts are in maintenance
state, then VPC created with start=False parameter should be in inactive state.
However, this is not correct.
VPC is in inactive state only after it is deleted. Hence the state of the VPC
created when the hosts are in maintenance state is Enabled only.
Further, the VPC won't be deleted by any cleanup threads because it is in
enabled state and not in inactive state. Remove the test case which asserts
that VPC should be removed after cleanup interval.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)