Skip to content

Commit

Permalink
Fix test. Fix JVM args.
Browse files Browse the repository at this point in the history
  • Loading branch information
beltex committed Jun 28, 2014
1 parent c04add9 commit f39ee26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = 'Leader election simulator with dynamic graph visualization'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'

applicationDefaultJvmArgs = ["-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"]
applicationDefaultJvmArgs = ["-Xmx2048m", "-XX:+HeapDumpOnOutOfMemoryError"]
mainClassName = hasProperty('client') ? 'client.' + client :
'client.Visualization'

Expand All @@ -29,6 +29,7 @@ dependencies {

tasks.withType(FindBugs) {
findbugsMain.onlyIf {project.properties['findbugs'].toBoolean()}
findbugsTest.onlyIf {project.properties['findbugs'].toBoolean()}

ignoreFailures = true
reports {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/junit/AgentDistributionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void preTest() {
*/
GraphVis.getInstance().init(g);

ad = new AgentDistribution();
ad = new AgentDistribution(false);
}


Expand Down

0 comments on commit f39ee26

Please sign in to comment.