Bipin Prasad created STORM-3792:
-----------------------------------

             Summary: Change pom.xml to use more threads without reuse
                 Key: STORM-3792
                 URL: https://issues.apache.org/jira/browse/STORM-3792
             Project: Apache Storm
          Issue Type: Improvement
          Components: blobstore, examples, integration-test, storm-hdfs, 
storm-hive, storm-kafka, storm-kafka-client, storm-kafka-monitor, storm-server, 
storm-sql
            Reporter: Bipin Prasad
            Assignee: Bipin Prasad


Maven surefire plugin configuration should be set to NOT reuse the forked JVMs 
for testing. Sharing JVMs can cause unintended test failures caused by 
singleton classes being in an inconsistent stage. Example of this class would 
be Time. 

This will cause a slowdown in tests because a new JVM would have to be created.

To mitigate this slowdown, whereever the "forkCount=1", change it to 
"forkCount=1.0C" and add reuseForks=false if not already present.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to