[
https://issues.apache.org/jira/browse/CLOUDSTACK-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684961#comment-13684961
]
ASF subversion and git services commented on CLOUDSTACK-3020:
-------------------------------------------------------------
Commit bf0265d21d77dbc28bc61f46c535ca75b727d115 in branch refs/heads/master
from [~rayeesn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=bf0265d ]
CLOUDSTACK-3020: Fix assert error
If you do not give a name during vm creation, UUID will be set for Name
and Display name will be blank.
Signed-off-by: Prasanna Santhanam <[email protected]>
> Tets case
> ".TestInstanceNameFlagTrue.test_02_instancename_from_default_configuration"
> failed due to wrong assert
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3020
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3020
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.2.0
> Environment: Automation
> Reporter: Rayees Namathponnan
> Assignee: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Tets case
> ".TestInstanceNameFlagTrue.test_02_instancename_from_default_configuration"
> failed due to wrong assert
> self.assertEqual(
> vm.displayname,
> vm.id,
> "Vm display name should not match the given name"
> )
> it should be
> self.assertNotEqual(
> vm.displayname,
> vm.id,
> "Vm display name should not match the given name"
> )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira