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 2017/09/08 16:26:40 UTC
[tika] branch master updated: further refinement on PR-201
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 26d6e0d further refinement on PR-201
new 582083e Merge remote-tracking branch 'origin/master'
26d6e0d is described below
commit 26d6e0d4e6822974d3e1f1cba90e0070ab6dfe30
Author: tballison <ta...@mitre.org>
AuthorDate: Fri Sep 8 12:26:17 2017 -0400
further refinement on PR-201
---
.../src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java b/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
index 64db40e..2dcc15e 100644
--- a/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
+++ b/tika-batch/src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java
@@ -226,13 +226,13 @@ public class BatchProcessTest extends FSBatchTestBase {
Map<String, String> args = getDefaultArgs("noisy_parsers", outputDir);
args.put("numConsumers", "1");
args.put("maxAliveTimeSeconds", "20");//main process loop should stop after 5 seconds
-
+ String stderr = "writing something to System.err";
BatchProcessTestExecutor ex = new BatchProcessTestExecutor(args);
StreamStrings streamStrings = ex.execute();
assertEquals(1, countChildren(outputDir));
assertContains("System.out", streamStrings.getOutString());
- assertContains("System.err", streamStrings.getOutString());
- assertNotContained("writing something to System.err", streamStrings.getErrString());
+ assertContains(stderr, streamStrings.getOutString());
+ assertNotContained(stderr, streamStrings.getErrString());
}
@Test(timeout = 10000)
--
To stop receiving notification emails like this one, please contact
['"commits@tika.apache.org" <co...@tika.apache.org>'].