aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi/src/test/java/org/apache/poi/hpsf/basic/TestReadAllFiles.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/poi/src/test/java/org/apache/poi/hpsf/basic/TestReadAllFiles.java b/poi/src/test/java/org/apache/poi/hpsf/basic/TestReadAllFiles.java
index 4cf5a31eb7..395aab02cf 100644
--- a/poi/src/test/java/org/apache/poi/hpsf/basic/TestReadAllFiles.java
+++ b/poi/src/test/java/org/apache/poi/hpsf/basic/TestReadAllFiles.java
@@ -60,7 +60,12 @@ class TestReadAllFiles {
Objects.requireNonNull(files, "Could not find directory " + hpsfTestDir.getAbsolutePath());
// convert to list of object-arrays for @Parameterized
- return Arrays.stream(files).map(Arguments::of);
+ return Arrays.
+ stream(files).
+ // exclude some files which can be created by other parallel tests,
+ // but then might not exist any more when they are processed here
+ filter(file -> !file.getName().endsWith("-saved.xls")).
+ map(Arguments::of);
}
/**