[
https://issues.apache.org/jira/browse/CLOUDSTACK-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14790832#comment-14790832
]
ASF GitHub Bot commented on CLOUDSTACK-8805:
--------------------------------------------
Github user rafaelweingartner commented on the pull request:
https://github.com/apache/cloudstack/pull/775#issuecomment-140824594
@DaanHoogland and @nitin-maharana, I was thinking about this PR. I do not
think that it is easy to write unit test for this.
First the method is huge (around 100 lines), and second it is a method that
performs database access (it builds "queries" to retrive data). Maybe, if you
extract the creation of sc1 from lines 356 – 357 and then test the search
criteria that was created. But still, that might not seem a pretty test case.
> Domains become inactive automatically.
> --------------------------------------
>
> Key: CLOUDSTACK-8805
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8805
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Nitin Kumar Maharana
>
> If there is a domain with name '%', if we force delete the '%' domain then
> all the other domains become inactive except Root domain.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)