Skip to content

Commit 0370e4e

Browse files
Run tests on Java 21
1 parent 800b3a3 commit 0370e4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
jdk: ['8', '11', '17']
19+
jdk: ['8', '11', '17', '21']
2020
os: [ubuntu-latest, windows-latest]
2121

2222
steps:

batik-test/src/main/java/org/apache/batik/test/PerformanceTestValidator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public TestReport runImpl() throws Exception {
7272
return result;
7373
}
7474

75-
p.setReferenceScore(score*2);
75+
p.setReferenceScore(score*4);
7676
r = p.run();
7777
assertTrue(!r.hasPassed());
7878
if (!r.getErrorCode().equals("unexpected.performance.improvement")) {

0 commit comments

Comments
 (0)