[
https://issues.apache.org/jira/browse/PHOENIX-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265154#comment-15265154
]
churro morales commented on PHOENIX-2840:
-----------------------------------------
[~jamestaylor]let me take a look at why this test is still failing. I ran it
in isolation many times and it passed, even through the maven target as well.
I can revert it back but I believe everything was ignored before. Let me check
and get back to you.
> 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
> Fix For: 4.8.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
(v6.3.4#6332)