Skip to content

Commit

Permalink
Temporarily ignore problems downloading model files
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Nov 17, 2023
1 parent e98410b commit ebb99be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void recognise() throws Exception {
config = new TikaConfig(is);
} catch (Exception e) {
if (e.getMessage() != null && (e.getMessage().contains("Connection refused") ||
e.getMessage().contains("connect timed out") || e.getMessage().contains("404"))) {
e.getMessage().contains("connect timed out") || e.getMessage().contains("403"))) {
assumeTrue(false, "skipping test because of connection issue");
}
throw e;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void recognise() throws Exception {
config = new TikaConfig(is);
} catch (Exception e) {
if (e.getMessage() != null && (e.getMessage().contains("Connection refused") ||
e.getMessage().contains("connect timed out") || e.getMessage().contains("404"))) {
e.getMessage().contains("connect timed out") || e.getMessage().contains("403"))) {
assumeTrue(false, "skipping test because of connection issue");
}
throw e;
Expand Down

0 comments on commit ebb99be

Please sign in to comment.