aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/src/test
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-12-14 15:06:28 +0000
committerDominik Stadler <centic@apache.org>2024-12-14 15:06:28 +0000
commit6754be55a2dbdf9cd1e81fb5bb3c40043f6c6789 (patch)
treebe18c9757a893e7cef5717b07ed9361de6029949 /poi-integration/src/test
parent0e18766e1a5c90acd1535564bf73161e4d628ee4 (diff)
downloadpoi-6754be55a2dbdf9cd1e81fb5bb3c40043f6c6789.tar.gz
poi-6754be55a2dbdf9cd1e81fb5bb3c40043f6c6789.zip
Exclude one file from testing because it fails in the IBM JDK CI build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-integration/src/test')
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
index 54f97e5e7b..8b3baf2b01 100644
--- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
+++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
@@ -140,7 +140,9 @@ public class TestAllFiles {
});
private static final Set<String> EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet(
- "document/truncated62886.docx"
+ "document/truncated62886.docx",
+ // this document fails with IBM JDK because of a different exception being thrown
+ "spreadsheet/clusterfuzz-testcase-minimized-POIXSSFFuzzer-5089447305609216.xlsx"
);
public static Stream<Arguments> allfiles(String testName) throws IOException {
@@ -241,6 +243,9 @@ public class TestAllFiles {
String threadName = Thread.currentThread().getName();
try {
Thread.currentThread().setName("Additional - " + file + " - " + handler);
+ if (StressTestUtils.excludeFile(file, EXPECTED_FAILURES))
+ return;
+
System.out.println("Running additionals on "+file);
FileHandler fileHandler = handler.getHandler();
assertNotNull(fileHandler, "Did not find a handler for file " + file);