You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2010/07/08 17:34:52 UTC

[jira] Updated: (CAMEL-2925) Use forkMode=once for the surefire plugin to significantly speed up tests

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

Hadrian Zbarcea updated CAMEL-2925:
-----------------------------------

    Description: 
We need to reduce the testing time in Camel since we got so many tests now. For this to work wee need to make sure there are no side effects outside of a test (which is not always simple).

Side effects usually stem from using static fields in classes shared across multiple tests (such as caches of Exchanges, or whatnot), which should be avoided.

  was:We need to reduce the testing time in Camel since we got so many tests now. For this to work wee need to make sure there are no side effects outside of a test (which is not always simple).


> Use  forkMode=once for the surefire plugin to significantly speed up tests
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-2925
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2925
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 2.3.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.4.0
>
>
> We need to reduce the testing time in Camel since we got so many tests now. For this to work wee need to make sure there are no side effects outside of a test (which is not always simple).
> Side effects usually stem from using static fields in classes shared across multiple tests (such as caches of Exchanges, or whatnot), which should be avoided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.