HBASE-14819 hbase-it tests failing with OOME: permgen

This commit is contained in:
stack 2015-11-19 14:46:53 -08:00
parent 5b5ff1d8b2
commit 447b0b3bfa
2 changed files with 6 additions and 5 deletions

View File

@ -91,6 +91,9 @@
<excludes> <excludes>
<exclude>${unittest.include}</exclude> <exclude>${unittest.include}</exclude>
<exclude>**/*$*</exclude> <exclude>**/*$*</exclude>
<!--Do this to prevent OOME because permgen is full seen on build.apache.org
-->
<argLine> -XX:+CMSClassUnloadingEnabled </argLine>
<!--<exclude>${test.exclude.pattern}</exclude>--> <!--<exclude>${test.exclude.pattern}</exclude>-->
</excludes> </excludes>
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>

View File

@ -93,17 +93,17 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
@Test @Test
public void testGetAtomicity() throws Exception { public void testGetAtomicity() throws Exception {
tag.runTestAtomicity(20000, 5, 5, 0, 3); tag.runTestAtomicity(20000, 4, 4, 0, 3);
} }
@Test @Test
public void testScanAtomicity() throws Exception { public void testScanAtomicity() throws Exception {
tag.runTestAtomicity(20000, 5, 0, 5, 3); tag.runTestAtomicity(20000, 3, 0, 2, 3);
} }
@Test @Test
public void testMixedAtomicity() throws Exception { public void testMixedAtomicity() throws Exception {
tag.runTestAtomicity(20000, 5, 2, 2, 3); tag.runTestAtomicity(20000, 4, 2, 2, 3);
} }
@ -116,5 +116,3 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
System.exit(ret); System.exit(ret);
} }
} }