File tree 1 file changed +50
-9
lines changed
integration-tests/hibernate-reactive-oracle
1 file changed +50
-9
lines changed Original file line number Diff line number Diff line change 14
14
<description >Hibernate Reactive related tests running with the Oracle database</description >
15
15
16
16
<properties >
17
- <reactive-oracle .url>vertx-reactive:oracle:thin:@localhost:1520/hibernate_orm_test </reactive-oracle .url>
17
+ <reactive-oracle .url>vertx-reactive:oracle:thin:@localhost:1521/FREEPDB1 </reactive-oracle .url>
18
18
</properties >
19
19
20
20
<dependencies >
188
188
<name >${oracle.image} </name >
189
189
<alias >oracle</alias >
190
190
<run >
191
+ <ports >
192
+ <port >1521:1521</port >
193
+ </ports >
191
194
<env >
192
- <ORACLE_DATABASE >hibernate_orm_test</ORACLE_DATABASE >
193
195
<ORACLE_PASSWORD >hibernate_orm_test</ORACLE_PASSWORD >
194
- <APP_USER >hibernate_orm_test</APP_USER >
195
- <APP_USER_PASSWORD >hibernate_orm_test</APP_USER_PASSWORD >
196
196
</env >
197
- <ports >
198
- <port >1520:1521</port >
199
- </ports >
200
197
<log >
201
- <prefix >ORACLE :</prefix >
198
+ <prefix >Oracle Database :</prefix >
202
199
<date >default</date >
203
- <color >cyan </color >
200
+ <color >red </color >
204
201
</log >
202
+ <wait >
203
+ <!-- good docs found at: https://dmp.fabric8.io/#build-healthcheck -->
204
+ <!-- Unfortunately booting this is slow, needs to set a generous timeout: -->
205
+ <time >60000</time >
206
+ <!-- leverage the healthcheck in the image we use -->
207
+ <healthy >yes</healthy >
208
+ <!-- In case of any issues with the built-in healthcheck we can revert back to the original log check:-->
209
+ <!-- <log>DATABASE IS READY TO USE!</log>-->
210
+ </wait >
205
211
</run >
206
212
</image >
207
213
</images >
247
253
</plugins >
248
254
</build >
249
255
</profile >
256
+
257
+ <!-- In general, we want to avoid os- or arch-based guards on tests, but the Oracle
258
+ db would not start on M1 - see https://stackoverflow.com/questions/68605011/oracle-12c-docker-setup-on-apple-m1 -->
259
+ <profile >
260
+ <id >mac-m1</id >
261
+ <activation >
262
+ <os >
263
+ <arch >aarch64</arch >
264
+ </os >
265
+ </activation >
266
+ <build >
267
+ <plugins >
268
+ <plugin >
269
+ <artifactId >maven-surefire-plugin</artifactId >
270
+ <configuration >
271
+ <skip >true</skip >
272
+ </configuration >
273
+ </plugin >
274
+ <plugin >
275
+ <groupId >io.fabric8</groupId >
276
+ <artifactId >docker-maven-plugin</artifactId >
277
+ <configuration >
278
+ <images >
279
+ <image >
280
+ <name >${oracle.image} </name >
281
+ <run >
282
+ <skip >true</skip >
283
+ </run >
284
+ </image >
285
+ </images >
286
+ </configuration >
287
+ </plugin >
288
+ </plugins >
289
+ </build >
290
+ </profile >
250
291
</profiles >
251
292
252
293
You can’t perform that action at this time.
0 commit comments