aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src/test
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2021-12-17 10:07:10 +0100
committersonartech <sonartech@sonarsource.com>2022-02-02 20:02:54 +0000
commitbf5f5f91ed7a6489fda3f6d4ee163ad94aaedcb6 (patch)
treebd3e7958534488ce2e8d02edb717fae8fb063402 /server/sonar-main/src/test
parentda25d9b1d4a2459bb201dd9b6e8166bd55149c57 (diff)
downloadsonarqube-bf5f5f91ed7a6489fda3f6d4ee163ad94aaedcb6.tar.gz
sonarqube-bf5f5f91ed7a6489fda3f6d4ee163ad94aaedcb6.zip
SONAR-15845 Upgrade H2 database dependency to 2.X
Diffstat (limited to 'server/sonar-main/src/test')
-rw-r--r--server/sonar-main/src/test/java/org/sonar/application/config/JdbcSettingsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/config/JdbcSettingsTest.java b/server/sonar-main/src/test/java/org/sonar/application/config/JdbcSettingsTest.java
index 58498e4adc6..35b1d8844f4 100644
--- a/server/sonar-main/src/test/java/org/sonar/application/config/JdbcSettingsTest.java
+++ b/server/sonar-main/src/test/java/org/sonar/application/config/JdbcSettingsTest.java
@@ -56,7 +56,7 @@ public class JdbcSettingsTest {
assertThat(underTest.resolveProviderAndEnforceNonnullJdbcUrl(props))
.isEqualTo(Provider.H2);
- assertThat(props.nonNullValue(JDBC_URL.getKey())).isEqualTo(String.format("jdbc:h2:tcp://%s:9092/sonar", InetAddress.getLoopbackAddress().getHostAddress()));
+ assertThat(props.nonNullValue(JDBC_URL.getKey())).isEqualTo(String.format("jdbc:h2:tcp://%s:9092/sonar;NON_KEYWORDS=VALUE", InetAddress.getLoopbackAddress().getHostAddress()));
}
@Test