File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
src/test/java/io/ebean/datasource Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 44 <parent >
55 <artifactId >ebean-datasource-parent</artifactId >
66 <groupId >io.ebean</groupId >
7- <version >8.14-SNAPSHOT </version >
7+ <version >8.14-RC1 </version >
88 </parent >
99
1010 <artifactId >ebean-datasource-api</artifactId >
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ public void defaults_someOverride() {
124124 readOnly .setMinConnections (3 );
125125 readOnly .setUsername ("foo2" );
126126 readOnly .setUrl ("jdbc:postgresql://127.0.0.2:5432/unit" );
127+ readOnly .lambdaMode (true );
127128
128129 DataSourceBuilder configBuilder = create ();
129130 DataSourceConfig readOnly2 = readOnly .setDefaults (configBuilder );
@@ -149,7 +150,7 @@ public void defaults_someOverride2() {
149150
150151 assertThat (readOnly2 ).isSameAs (readOnly );
151152 assertThat (readOnly .isShutdownOnJvmExit ()).isTrue ();
152- assertThat (readOnly .isValidateOnHeartbeat ()).isTrue ();
153+ assertThat (readOnly .isValidateOnHeartbeat ()).isFalse ();
153154 }
154155
155156 private DataSourceConfig create () {
@@ -182,7 +183,7 @@ public void load_prefix() throws IOException {
182183 var config = new DataSourceConfig ().load (props , "bar" );
183184 assertConfigValues (config );
184185 assertThat (config .isShutdownOnJvmExit ()).isFalse ();
185- assertThat (config .isValidateOnHeartbeat ()).isFalse ();
186+ assertThat (config .isValidateOnHeartbeat ()).isTrue ();
186187 }
187188
188189 @ Test
Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >io.ebean</groupId >
66 <artifactId >ebean-datasource-parent</artifactId >
7- <version >8.14-SNAPSHOT </version >
7+ <version >8.14-RC1 </version >
88 </parent >
99
1010 <artifactId >ebean-datasource</artifactId >
1616 <dependency >
1717 <groupId >io.ebean</groupId >
1818 <artifactId >ebean-datasource-api</artifactId >
19- <version >8.14-SNAPSHOT </version >
19+ <version >8.14-RC1 </version >
2020 </dependency >
2121
2222 <dependency >
Original file line number Diff line number Diff line change 99
1010 <groupId >io.ebean</groupId >
1111 <artifactId >ebean-datasource-parent</artifactId >
12- <version >8.14-SNAPSHOT </version >
12+ <version >8.14-RC1 </version >
1313 <packaging >pom</packaging >
1414
1515 <scm >
You can’t perform that action at this time.
0 commit comments