Repository navigation
CLOUDSTACK-8542: Correcting test case in test_vpc_on_host_maintenance.py - #360
Closed
gauravaradhye wants to merge 2 commits into
Closed
gauravaradhye wants to merge 2 commits into
gauravaradhye wants to merge 2 commits into
Conversation
|
cloudstack-pull-requests #313 SUCCESS |
Author
|
Done with review changes. |
|
cloudstack-pull-requests #339 SUCCESS |
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'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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