This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Enabling asserts in Cloudstack
Skip to end of metadata
Go to start of metadata

As a best-practice asserts should be enabled in dev/test environment. Asserts can be enabled by adding the following flag to MAVEN_OPTS. The ellipsis(…) at the end of each namespace (NS) means that anything under that. If there is any other NS used in Cloudstack please add that to the list as well.

 “-ea:org.apache.cloudstack... -ea:com.cloud..."

Use asserts wherever it is appropriate (for e.g. private methods which assumes certain things about the inputs). Also if there are obsolete ones please review and remove.


  • No labels