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 2025/10/06 15:27:36 UTC
(tika) branch main updated: TIKA-4508 -- fix unit test (#2359)
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new cd7e8f5fc TIKA-4508 -- fix unit test (#2359)
cd7e8f5fc is described below
commit cd7e8f5fca7c51ec853f96bc50f8653c44a861c0
Author: Tim Allison <ta...@apache.org>
AuthorDate: Mon Oct 6 11:27:32 2025 -0400
TIKA-4508 -- fix unit test (#2359)
---
.../java/org/apache/tika/async/cli/TikaConfigAsyncWriterTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tika-pipes/tika-async-cli/src/test/java/org/apache/tika/async/cli/TikaConfigAsyncWriterTest.java b/tika-pipes/tika-async-cli/src/test/java/org/apache/tika/async/cli/TikaConfigAsyncWriterTest.java
index c88db2de0..bd5457ee4 100644
--- a/tika-pipes/tika-async-cli/src/test/java/org/apache/tika/async/cli/TikaConfigAsyncWriterTest.java
+++ b/tika-pipes/tika-async-cli/src/test/java/org/apache/tika/async/cli/TikaConfigAsyncWriterTest.java
@@ -43,7 +43,7 @@ public class TikaConfigAsyncWriterTest {
Path p = Paths.get(TikaConfigAsyncWriter.class.getResource("/configs/TIKA-4508-parsers.xml").toURI());
SimpleAsyncConfig simpleAsyncConfig = new SimpleAsyncConfig("input", "output", 4,
10000L, "-Xmx1g", null, p.toAbsolutePath().toString());
- Path target = Paths.get("/home/tallison/Desktop/tmp/").resolve("combined.xml");
+ Path target = dir.resolve("combined.xml");
TikaConfigAsyncWriter writer = new TikaConfigAsyncWriter(simpleAsyncConfig);
writer.write(target);
@@ -57,7 +57,7 @@ public class TikaConfigAsyncWriterTest {
Path p = Paths.get(TikaConfigAsyncWriter.class.getResource("/configs/TIKA-4508-emitters.xml").toURI());
SimpleAsyncConfig simpleAsyncConfig = new SimpleAsyncConfig("input", "output", 4,
10000L, "-Xmx1g", null, p.toAbsolutePath().toString());
- Path target = Paths.get("/home/tallison/Desktop/tmp/").resolve("combined.xml");
+ Path target = dir.resolve("combined.xml");
TikaConfigAsyncWriter writer = new TikaConfigAsyncWriter(simpleAsyncConfig);
writer.write(target);