File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed
integration-tests/hibernate-orm-compatibility-5.6 Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 170
170
<enforce-test-deps-scope .skip>${enforcer.skip} </enforce-test-deps-scope .skip>
171
171
172
172
<surefire .argLine.additional></surefire .argLine.additional>
173
+ <failsafe .argLine.additional>${surefire.argLine.additional} </failsafe .argLine.additional>
173
174
<os-maven-plugin .version>1.7.0</os-maven-plugin .version>
174
175
175
176
<!-- google cloud functions invoker-->
460
461
<project .groupId>${project.groupId} </project .groupId>
461
462
</systemPropertyVariables >
462
463
<!-- set tmpdir as early as possible because failsafe sets it too late for JDK16 -->
463
- <argLine >-Djava.io.tmpdir="${project.build.directory} "</argLine >
464
+ <argLine >-Djava.io.tmpdir="${project.build.directory} " ${failsafe.argLine.additional} </argLine >
464
465
<excludedEnvironmentVariables >MAVEN_OPTS</excludedEnvironmentVariables >
465
466
</configuration >
466
467
</plugin >
Original file line number Diff line number Diff line change 15
15
16
16
<properties >
17
17
<mariadb .url>jdbc:mariadb://localhost:3306/hibernate_orm_test</mariadb .url>
18
+ <!-- We test features in Hibernate ORM that are timezone-sensitive, e.g. ZoneOffsetDateTime normalization -->
19
+ <surefire .argLine.additional>-Duser.timezone=Europe/Paris</surefire .argLine.additional>
18
20
</properties >
19
21
20
22
<dependencies >
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ trap '$MVN docker:stop -Dstart-containers -Ddocker.containerNamePattern=$DB_CONT
15
15
16
16
# Generate database
17
17
$MVN -f ../database-generator clean install -Ddb-kind=mariadb
18
+ # We use features in Hibernate ORM that are timezone-sensitive, e.g. ZoneOffsetDateTime normalization
19
+ TZ=Europe/Paris
18
20
QUARKUS_DATASOURCE_JDBC_URL=" jdbc:mariadb://localhost:$DB_PORT /$DB_NAME " \
19
21
QUARKUS_DATASOURCE_USERNAME=" $DB_USER " \
20
22
QUARKUS_DATASOURCE_PASSWORD=" $DB_PASSWORD " \
Original file line number Diff line number Diff line change 13
13
<artifactId >quarkus-integration-test-hibernate-orm-compatibility-5.6-postgresql</artifactId >
14
14
<name >Quarkus - Integration Tests - Hibernate ORM - Compatibility with databases meant for ORM 5.6 - PostgreSQL</name >
15
15
16
+ <properties >
17
+ <!-- We test features in Hibernate ORM that are timezone-sensitive, e.g. ZoneOffsetDateTime normalization -->
18
+ <surefire .argLine.additional>-Duser.timezone=Europe/Paris</surefire .argLine.additional>
19
+ </properties >
20
+
16
21
<dependencies >
17
22
<dependency >
18
23
<groupId >io.quarkus</groupId >
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ trap '$MVN docker:stop -Dstart-containers -Ddocker.containerNamePattern=$DB_CONT
15
15
16
16
# Generate database
17
17
$MVN -f ../database-generator clean install -Ddb-kind=postgresql
18
+ # We use features in Hibernate ORM that are timezone-sensitive, e.g. ZoneOffsetDateTime normalization
19
+ TZ=Europe/Paris
18
20
QUARKUS_DATASOURCE_JDBC_URL=" jdbc:postgresql://localhost:$DB_PORT /$DB_NAME " \
19
21
QUARKUS_DATASOURCE_USERNAME=" $DB_USER " \
20
22
QUARKUS_DATASOURCE_PASSWORD=" $DB_PASSWORD " \
You can’t perform that action at this time.
0 commit comments