-
Notifications
You must be signed in to change notification settings - Fork 215
JVM settings for the Restcomm testsuite
George Vagenas edited this page May 19, 2016
·
1 revision
Restcomm is using Arquillian, sipunit, junit and an embedded version of SipServlets on Tomcat for the testsuite.
The testsuite also runs using maven surefire, so testsuite will run during Restcomm build lifecyle, for example when you use "mvn clean install". If you want to build Restcomm without running the testsuite use the following: "mvn clean install -Dmaven.test.skip"
To run Restcomm tests inside your IDE (Eclipse or IntelliJ Idea) you will need the following settings:
-Xms1024m -Xmx2048m -Xmn512m -XX:MaxPermSize=256m
- Eclipse: Preferences -> Java -> Installed JREs -> (pick the active one) -> Default VM Argument
- Intellij Idea: Settings -> Build, Execution, Deployment -> Maven -> Runner -> VM Options
For maven you need the following:
export MAVEN_OPTS="-Xms256m -Xmx512m"
To run the full testsuite using maven use: "mvn surefire-report:report"