Skip to content

Commit

Permalink
HBASE-28350 [JDK17] Unable to run hbase-it tests with JDK 17 (#5712)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrajeshbabu committed Mar 2, 2024
1 parent 40a4a97 commit ce8f5a3
Showing 1 changed file with 7 additions and 1 deletion.
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>
<failsafe.profile.overrides>${failsafe.jdk8.flags}</failsafe.profile.overrides>
<!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
</properties>

Expand Down Expand Up @@ -293,7 +295,7 @@
I believe it is a failsafe bug, we may consider using surefire -->
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions -Xmx${failsafe.Xmx}
-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 @@ -346,6 +348,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

0 comments on commit ce8f5a3

Please sign in to comment.