Skip to content

CLOUDSTACK-8542: Correcting test case in test_vpc_on_host_maintenance.py - #360

Closed
gauravaradhye wants to merge 2 commits into
apache:masterfrom
gauravaradhye:8542
Closed

gauravaradhye wants to merge 2 commits into
apache:masterfrom
gauravaradhye:8542

Conversation

@gauravaradhye

Copy link
Copy Markdown

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 incorrect.

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.

Other changes:
Removed hard-coded services dict from the test case. Instead the test case will use the dict located at /marvin/config/test_data.py which is common for all test cases.

Logs:
Test VPC when host is in maintenance mode ... === TestName: test_01_create_vpc_host_maintenance | Status : SUCCESS ===
ok


Ran 1 test in 189.881s

OK

@asfbot

asfbot commented Jun 5, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #313 SUCCESS
This pull request looks good

@gauravaradhye

Copy link
Copy Markdown
Author

Done with review changes.

@asfbot

asfbot commented Jun 8, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #339 SUCCESS
This pull request looks good

@asfgit asfgit closed this in 6140db5 Jun 8, 2015
@gauravaradhye
gauravaradhye deleted the 8542 branch June 10, 2015 11:56
shwstppr pushed a commit to shapeblue/cloudstack that referenced this pull request Feb 7, 2024
…00000 bytes), to support user data upto 1048576 bytes (apache#360)

* Updated jetty maxFormContentSize value to 1048576 bytes (default is 200000 bytes)

* Updated content size config using 'max.form.content.size' parameter in server.properties

* Updated content size config parameter (in server.properties) to 'request.content.size'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants