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

Thomas D'Silva resolved PHOENIX-2840.
-------------------------------------
    Resolution: Not A Problem

> Fix flapping MemoryManagerTest.testWaitForMemoryAvailable unit test
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-2840
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2840
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: churro morales
>            Priority: Major
>             Fix For: 4.15.0
>
>         Attachments: PHOENIX-2840.patch
>
>
> Looks like MemoryManagerTest.testWaitForMemoryAvailable is flapping.
> {code}
> https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/443/testReport/junit/org.apache.phoenix.memory/MemoryManagerTest/testWaitForMemoryAvailable/
> {code}
> I wonder if perhaps we should change reuseForks to false for our fast unit 
> tests here in the pom.xml:
> {code}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>${maven-surefire-plugin.version}</version>
>         <configuration>
>           <forkCount>${numForkedUT}</forkCount>
>           <reuseForks>true</reuseForks>
>           <argLine>-enableassertions -Xmx2250m -XX:MaxPermSize=128m
>             -Djava.security.egd=file:/dev/./urandom 
> "-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}"</argLine>
>           
> <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
>           <shutdown>kill</shutdown>
>         </configuration>
>       </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to