[ 
https://issues.apache.org/jira/browse/TOMEE-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved TOMEE-3825.
------------------------------------
    Fix Version/s: 8.0.10
       Resolution: Fixed

> TomEE Maven Plugin does not wait for container startup, if "checkStarted" is 
> set to true
> ----------------------------------------------------------------------------------------
>
>                 Key: TOMEE-3825
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3825
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Maven Plugin
>    Affects Versions: 8.0.9
>            Reporter: Richard Zowalla
>            Assignee: Richard Zowalla
>            Priority: Major
>             Fix For: 8.0.10
>
>         Attachments: tomee-maven-plugin-checkStarted-issue.zip
>
>
> The TomEE Maven Plugin provides a configuration flag *checkStarted*. The flag 
> is not well documented in the code base but there is a [blog post by 
> Romain|https://rmannibucau.wordpress.com/2013/09/25/tomee-maven-plugin-and-integration-tests-without-arquillian/],
>  which describes the intended behaviour of *checkStarted*. 
> By default, the container startup is done asynchronous. In the context of a 
> integration test (without arquillian) it is important to wait until the 
> container is started in order to let the Failsafe Plugin do the work. 
> However, this mechanism is currently broken. Thanks to [~mawiesne] for trying 
> and finding this one.
> I created a minimal example, which reproduces the behaviour. The log output 
> cleary shows, that the plugin does not wait for a complete server startup. 
> Thus integration tests are executed although the underlying container is not 
> ready yet.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to