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 083f7b8 Further refinement on PR-201
083f7b8 is described below
commit 083f7b860bd0cb8ff5d13120d808e0c77ce05999
Author: tballison <[email protected]>
AuthorDate: Fri Sep 1 11:41:04 2017 -0400
Further refinement on PR-201
---
.../src/test/java/org/apache/tika/batch/fs/BatchProcessTest.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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 265c826..58af915 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
@@ -232,7 +232,11 @@ public class BatchProcessTest extends FSBatchTestBase {
assertEquals(1, countChildren(outputDir));
assertContains("System.out", streamStrings.getOutString());
assertContains("System.err", streamStrings.getOutString());
- assertEquals("", streamStrings.getErrString());
+ if (! streamStrings.getErrString().equals("") &&
+ ! streamStrings.getErrString().startsWith("Picked up")) {//
see https://github.com/apache/tika/pull/201
+ fail("nothing should have been written to stderr, but I saw >"+
+ streamStrings.getErrString().replaceAll("\\r", "<r>"+"<"));
+ }
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].