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>
<exclude>${unittest.include}</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>-->
</excludes>
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>

View File

@ -93,17 +93,17 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
@Test
public void testGetAtomicity() throws Exception {
tag.runTestAtomicity(20000, 5, 5, 0, 3);
tag.runTestAtomicity(20000, 4, 4, 0, 3);
}
@Test
public void testScanAtomicity() throws Exception {
tag.runTestAtomicity(20000, 5, 0, 5, 3);
tag.runTestAtomicity(20000, 3, 0, 2, 3);
}
@Test
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);
}
}