This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 20a0cd7 add alternate reason message to skip test
20a0cd7 is described below
commit 20a0cd71139cdbc5ecaeedb59d62af57c80b0eac
Author: tballison <[email protected]>
AuthorDate: Thu Aug 17 14:14:21 2017 -0400
add alternate reason message to skip test
---
.../src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
b/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
index 9c84855..0d0c90f 100644
--- a/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
+++ b/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
@@ -32,7 +32,9 @@ public class DL4JVGG16NetTest {
try {
config = new
TikaConfig(getClass().getResourceAsStream("dl4j-vgg16-config.xml"));
} catch (TikaConfigException e) {
- if (e.getMessage() != null && e.getMessage().contains("Connection
refused")) {
+ if (e.getMessage() != null
+ && (e.getMessage().contains("Connection refused")
+ || e.getMessage().contains("connect timed out"))) {
//skip test
return;
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].