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

Gregor Zurowski updated CAMEL-7321:
-----------------------------------

    Description: 
In January [~njiang] reported that the JUnit test JcrConsumerTest fails in his 
environment. This could not be reproduced in other environments at that time. 
[~njiang] applied the following fix to the pom.xml in order make the test pass:

{code:title=camel-jcr/pom.xml}
[...]
  <build>
    <plugins>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>pertest</forkMode>
        </configuration>
     </plugin>
    </plugins>
  </build>
[...]
{code}

This made all tests run in separate processes, but was also an indicator for 
potential multi-threading issues in JcrConsumer. I was recently able to 
reproduce the problem by running Maven within Eclipse. The problem is indeed a 
synchronization issue and should be addressed with this ticket.

  was:
In January [~njiang] reported that the JUnit test JcrConsumerTest fails in his 
environment. This could not be reproduced in other environments at that time. 
[~njiang] applied the following fix to the pom.xml in order make the test pass:

{code:title=jcr-camel/pom.xml}
[...]
  <build>
    <plugins>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>pertest</forkMode>
        </configuration>
     </plugin>
    </plugins>
  </build>
[...]
{code}

This made all tests run in separate processes, but was also an indicator for 
potential multi-threading issues in JcrConsumer. I was recently able to 
reproduce the problem by running Maven within Eclipse. The problem is indeed a 
synchronization issue and should be addressed with this ticket.


> JcrConsumer freezes in some environments
> ----------------------------------------
>
>                 Key: CAMEL-7321
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7321
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jcr
>    Affects Versions: 2.13.0
>            Reporter: Gregor Zurowski
>            Assignee: Gregor Zurowski
>
> In January [~njiang] reported that the JUnit test JcrConsumerTest fails in 
> his environment. This could not be reproduced in other environments at that 
> time. [~njiang] applied the following fix to the pom.xml in order make the 
> test pass:
> {code:title=camel-jcr/pom.xml}
> [...]
>   <build>
>     <plugins>
>      <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <forkMode>pertest</forkMode>
>         </configuration>
>      </plugin>
>     </plugins>
>   </build>
> [...]
> {code}
> This made all tests run in separate processes, but was also an indicator for 
> potential multi-threading issues in JcrConsumer. I was recently able to 
> reproduce the problem by running Maven within Eclipse. The problem is indeed 
> a synchronization issue and should be addressed with this ticket.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to