Merge "Bug 1950: Raise memory and permgen limits for featurs-test"
authorTony Tkacik <ttkacik@cisco.com>
Wed, 22 Oct 2014 12:18:07 +0000 (12:18 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 22 Oct 2014 12:18:07 +0000 (12:18 +0000)
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),