Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-28350 [JDK17] Unable to run hbase-it tests with JDK 17 #5712

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion hbase-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
<!-- To Run Tests with a particular Xmx Value use -Dfailsafe.Xmx=XXXg -->
<failsafe.Xmx>4g</failsafe.Xmx>
<failsafe.jdk8.flags>-XX:+CMSClassUnloadingEnabled</failsafe.jdk8.flags>
chrajeshbabu marked this conversation as resolved.
Show resolved Hide resolved
<failsafe.profile.overrides>${failsafe.jdk8.flags}</failsafe.profile.overrides>
<!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
</properties>

Expand Down Expand Up @@ -283,7 +285,7 @@
I believe it is a failsafe bug, we may consider using surefire -->
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions -Xmx${failsafe.Xmx}
chrajeshbabu marked this conversation as resolved.
Show resolved Hide resolved
-Djava.security.egd=file:/dev/./urandom -XX:+CMSClassUnloadingEnabled
-Djava.security.egd=file:/dev/./urandom ${failsafe.profile.overrides}
-verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal @{jacocoArgLine}</argLine>
</configuration>
</plugin>
Expand Down Expand Up @@ -336,6 +338,10 @@
<activation>
<jdk>[1.11,)</jdk>
</activation>
<properties>
<failsafe.profile.overrides>${hbase-surefire.jdk11.flags}</failsafe.profile.overrides>
</properties>

<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
Expand Down