You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2024/01/04 18:46:59 UTC

(tika) branch branch_2x updated: Turn unit test back on for DL4JVGG16NetTest

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/branch_2x by this push:
     new fb1897daf Turn unit test back on for DL4JVGG16NetTest
fb1897daf is described below

commit fb1897dafb23b26d4cfc56207f4cc2e124ba6b64
Author: tallison <ta...@apache.org>
AuthorDate: Thu Jan 4 13:46:44 2024 -0500

    Turn unit test back on for DL4JVGG16NetTest
---
 .../src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java b/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
index b0bf8ba98..d6968a65d 100644
--- a/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
+++ b/tika-parsers/tika-parsers-ml/tika-dl/src/test/java/org/apache/tika/dl/imagerec/DL4JVGG16NetTest.java
@@ -45,7 +45,7 @@ public class DL4JVGG16NetTest {
             throw e;
         }
 
-        assumeTrue(false, "something went wrong loading tika config");
+        assumeTrue(config != null, "something went wrong loading tika config");
         Tika tika = new Tika(config);
         Metadata md = new Metadata();
         try (InputStream is = getClass().getResourceAsStream("lion.jpg")) {