aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java')
-rw-r--r--sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java b/sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java
index d6fd2af70e2..c5f47749e80 100644
--- a/sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java
+++ b/sonar-application/src/test/java/org/sonar/application/JdbcSettingsTest.java
@@ -61,15 +61,13 @@ public class JdbcSettingsTest {
@Test
public void check_mysql_parameters() throws Exception {
- Props props = new Props(new Properties());
-
// minimal -> ok
settings.checkUrlParameters(JdbcSettings.Provider.MYSQL,
- "jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&useCursorFetch=true");
+ "jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8");
// full -> ok
settings.checkUrlParameters(JdbcSettings.Provider.MYSQL,
- "jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useCursorFetch=true");
+ "jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance");
// missing required -> ko
try {