From 4edfc5155b80eef9172d8195bbf51c58644a960e Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Tue, 22 Feb 2022 20:21:07 +0000 Subject: [PATCH] exclude files failing on windows nodes, because of limited JCE policies git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898330 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/stress/TestAllFiles.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 4d1df65116..30bbe4b264 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 @@ -77,7 +77,15 @@ public class TestAllFiles { "**/.svn/**", "lost+found", "**/.git/**", - "**/ExternalEntityInText.docx", //the DocType (DTD) declaration causes this to fail + //the DocType (DTD) declaration causes this to fail + "**/ExternalEntityInText.docx", + + // exclude files failing on windows nodes, because of limited JCE policies + "document/bug53475-password-is-pass.docx", + "poifs/60320-protected.xlsx", + "poifs/protected_sha512.xlsx", + "poifs/60320-protected.xlsx", + "poifs/protected_sha512.xlsx", }; // cheap workaround of skipping the few problematic files @@ -101,6 +109,13 @@ public class TestAllFiles { "spreadsheet/testEXCEL_3.xls", "spreadsheet/testEXCEL_4.xls", "poifs/unknown_properties.msg", + + // exclude files failing on windows nodes, because of limited JCE policies + "document/bug53475-password-is-pass.docx", + "poifs/60320-protected.xlsx", + "poifs/protected_sha512.xlsx", + "poifs/60320-protected.xlsx", + "poifs/protected_sha512.xlsx", }; private static final Set EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet( -- 2.39.5