Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ on:
# OPTIONAL (ordered alphabetically)
java-version:
type: string
description: "Java version to set up (default: 17)"
default: '17'
description: "Java version to set up (default: 25)"
default: '25'
required: false

needs-binary-tarball:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- build
strategy:
matrix:
java: [ 8, 11, 17, 21 ]
java: [ 8, 17, 21, 25 ]
fail-fast: false
uses: ./.github/workflows/check.yaml
with:
Expand Down
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,15 @@
<slf4j.version>2.0.18</slf4j.version>
<junit-bom.version>5.14.4</junit-bom.version>
<mockito.version>4.11.0</mockito.version>
<byte-buddy.version>1.18.10</byte-buddy.version>
<jacoco.version>0.8.15</jacoco.version>
<flaky-test-groups>flaky | org.apache.ratis.test.tag.FlakyTest</flaky-test-groups>

<extraJavaTestArgs>
-XX:+IgnoreUnrecognizedVMOptions
--enable-native-access=ALL-UNNAMED
--sun-misc-unsafe-memory-access=allow
</extraJavaTestArgs>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -402,6 +409,16 @@
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${byte-buddy.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -564,7 +581,7 @@
<enableProcessChecker>all</enableProcessChecker>
<forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
<!-- @argLine is filled by jacoco maven plugin. @{} means late evaluation -->
<argLine>-Xmx2g -XX:+HeapDumpOnOutOfMemoryError @{argLine}</argLine>
<argLine>-Xmx2g -XX:+HeapDumpOnOutOfMemoryError ${extraJavaTestArgs} @{argLine}</argLine>
<systemPropertyVariables>
<ratis.log.dir>${project.build.directory}/log</ratis.log.dir>
<ratis.tmp.dir>${project.build.directory}/tmp</ratis.tmp.dir>
Expand Down