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

This commit is contained in:
stack 2015-11-19 14:46:53 -08:00
parent f0dc556b71
commit 7dc4f12199
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

@ -94,17 +94,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);
}
@ -117,5 +117,3 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
System.exit(ret);
}
}