aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-07-17 09:59:47 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-07-17 10:06:32 +0200
commit7f79ec13b5773949e5eb3e12da1b18cec2d086e7 (patch)
treeb59ecfe5483671dc26213e574e2b62ca4be4e948 /sonar-batch
parente35053828093048f2dfe70de9d5a33d9c735e9bf (diff)
downloadsonarqube-7f79ec13b5773949e5eb3e12da1b18cec2d086e7.tar.gz
sonarqube-7f79ec13b5773949e5eb3e12da1b18cec2d086e7.zip
Disable JMX in Persistit
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/index/CachesManager.java1
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/CachesManager.java b/sonar-batch/src/main/java/org/sonar/batch/index/CachesManager.java
index 107c62a619c..a710613d0ac 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/index/CachesManager.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/index/CachesManager.java
@@ -61,6 +61,7 @@ public class CachesManager implements Startable {
props.setProperty("journalpath", "${datapath}/journal");
props.setProperty("tmpvoldir", "${datapath}");
props.setProperty("volume.1", "${datapath}/persistit,create,pageSize:8192,initialPages:10,extensionPages:100,maximumPages:25000");
+ props.setProperty("jmx", "false");
persistit.setProperties(props);
persistit.initialize();
diff --git a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java
index 61677f28b69..98d18d5a461 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/log/LogListenerTest.java
@@ -33,7 +33,6 @@ import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
-import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@@ -146,7 +145,6 @@ public class LogListenerTest {
}
@Test
- @Ignore("Temporarily disabled - frequent errors on local box and travis-ci")
public void testNoFormattedMsgs() throws IOException {
File srcDir = new File(baseDir, "src");
srcDir.mkdir();