Skip to content

Commit

Permalink
TIKA-2871 -- don't include testChm_oom.chm in multithreaded tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed May 14, 2019
1 parent 698d5b3 commit c4a9cc9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,13 @@ public boolean accept(File pathname) {
//this file is a beast, skip it
if (pathname.getName().equals("testChm2.chm")) {
return false;
} else {
//this file throws an exception in the baseline and then
//isn't included in the actual tests.
//If we do want to include it we need to change the way
//MultiThreadedTikaTest handles files that throw exceptions
} else if (pathname.getName().equals("testChm_oom.chm")) {
return false;
} else{
return true;
}
} else {
Expand Down

0 comments on commit c4a9cc9

Please sign in to comment.