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 170170 <enforce-test-deps-scope .skip>${enforcer.skip} </enforce-test-deps-scope .skip>
171171
172172 <surefire .argLine.additional></surefire .argLine.additional>
173+ <failsafe .argLine.additional>${surefire.argLine.additional} </failsafe .argLine.additional>
173174 <os-maven-plugin .version>1.7.0</os-maven-plugin .version>
174175
175176 <!-- google cloud functions invoker-->
460461 <project .groupId>${project.groupId} </project .groupId>
461462 </systemPropertyVariables >
462463 <!-- 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 >
464465 <excludedEnvironmentVariables >MAVEN_OPTS</excludedEnvironmentVariables >
465466 </configuration >
466467 </plugin >
Original file line number Diff line number Diff line change 1515
1616 <properties >
1717 <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>
1820 </properties >
1921
2022 <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
1515
1616# Generate database
1717$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
1820QUARKUS_DATASOURCE_JDBC_URL=" jdbc:mariadb://localhost:$DB_PORT /$DB_NAME " \
1921QUARKUS_DATASOURCE_USERNAME=" $DB_USER " \
2022QUARKUS_DATASOURCE_PASSWORD=" $DB_PASSWORD " \
Original file line number Diff line number Diff line change 1313 <artifactId >quarkus-integration-test-hibernate-orm-compatibility-5.6-postgresql</artifactId >
1414 <name >Quarkus - Integration Tests - Hibernate ORM - Compatibility with databases meant for ORM 5.6 - PostgreSQL</name >
1515
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+
1621 <dependencies >
1722 <dependency >
1823 <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
1515
1616# Generate database
1717$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
1820QUARKUS_DATASOURCE_JDBC_URL=" jdbc:postgresql://localhost:$DB_PORT /$DB_NAME " \
1921QUARKUS_DATASOURCE_USERNAME=" $DB_USER " \
2022QUARKUS_DATASOURCE_PASSWORD=" $DB_PASSWORD " \
You can’t perform that action at this time.
0 commit comments