Bug 1950: Raise memory and permgen limits for featurs-test 96/11396/1
authorEd Warnicke <eaw@cisco.com>
Thu, 18 Sep 2014 11:23:31 +0000 (06:23 -0500)
committerTony Tkacik <ttkacik@cisco.com>
Sat, 20 Sep 2014 08:57:22 +0000 (08:57 +0000)
Change-Id: I7e72e605eac4029835cbc8e64e22d0ecedc1dacc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
common/features-test/src/main/java/org/opendaylight/yangtools/featuretest/SingleFeatureTest.java

index 5f46d040c8d76703ed8fe24869982cfcc1a970d9..cdcff63960e8d08d41cfaf452c38e36cd71e5aa7 100644 (file)
@@ -11,6 +11,7 @@ import static org.opendaylight.yangtools.featuretest.Constants.ORG_OPENDAYLIGHT_
 import static org.opendaylight.yangtools.featuretest.Constants.ORG_OPENDAYLIGHT_FEATURETEST_FEATUREVERSION_PROP;
 import static org.opendaylight.yangtools.featuretest.Constants.ORG_OPENDAYLIGHT_FEATURETEST_URI_PROP;
 import static org.ops4j.pax.exam.CoreOptions.maven;
+import static org.ops4j.pax.exam.CoreOptions.vmOptions;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.configureConsole;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
 //import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.debugConfiguration;
@@ -77,6 +78,7 @@ public class SingleFeatureTest {
     public Option[] config() throws IOException {
        return new Option[] {
              getKarafDistroOption(),
+             vmOptions("-Xmx2048m","-XX:MaxPermSize=512m"),
              keepRuntimeFolder(),
              configureConsole().ignoreLocalConsole(),
              logLevel(LogLevel.WARN),