Github user johnmccabe commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1031#discussion_r44860964
  
    --- Diff: docs/guide/yaml/test/example_yaml/paralleltestcase-example.yaml 
---
    @@ -0,0 +1,46 @@
    +brooklyn.catalog:
    +  id: parallel-test
    +  version: 1.0
    +  itemType: template
    +  iconUrl: http://tomcat.apache.org/images/tomcat.png
    +  name: Parallel Tomcat and DB Example Test
    +  license: Apache-2.0
    +  item:
    +    brooklyn.config:
    +      simple.confg: someValue
    +    services:
    +    - type: org.apache.brooklyn.test.framework.TestCase
    +      name: Parallel Testcase
    +      brooklyn.children:
    +      - type: org.apache.brooklyn.test.framework.TestCase
    +        name: Parallel Testcase
    --- End diff --
    
    Both having the name 'Parallel Testcase' is a mistake, the second should be 
something along the lines of 'Deploy Application'.
    
    The first TestCase is used to allow sequential execution of the children, 
ie deploy app, then run tests. The ParallelTestCase starts the 
`ControlledDynamicWebAppCluster` and `MySqlNode` in parallel to reproduce the 
behaviour without tests (ie just nested under `-services:`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to