Skip to content

Commit c4a9cc9

Browse files
committed
TIKA-2871 -- don't include testChm_oom.chm in multithreaded tests.
1 parent 698d5b3 commit c4a9cc9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tika-parsers/src/test/java/org/apache/tika/parser/chm/TestChmExtraction.java

+7-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,13 @@ public boolean accept(File pathname) {
229229
//this file is a beast, skip it
230230
if (pathname.getName().equals("testChm2.chm")) {
231231
return false;
232-
} else {
232+
//this file throws an exception in the baseline and then
233+
//isn't included in the actual tests.
234+
//If we do want to include it we need to change the way
235+
//MultiThreadedTikaTest handles files that throw exceptions
236+
} else if (pathname.getName().equals("testChm_oom.chm")) {
237+
return false;
238+
} else{
233239
return true;
234240
}
235241
} else {

0 commit comments

Comments
 (0)