You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/04/18 19:34:25 UTC
[jira] [Commented] (PHOENIX-2840) Fix flapping
MemoryManagerTest.testWaitForMemoryAvailable unit test
[ https://issues.apache.org/jira/browse/PHOENIX-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246078#comment-15246078 ]
James Taylor commented on PHOENIX-2840:
---------------------------------------
[~samarthjain] - any thoughts?
> 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
>
> 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)