tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2784) Add static grabbing of stdout/err to MockParser
Date Mon, 19 Nov 2018 21:03:00 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16692274#comment-16692274
] 

Hudson commented on TIKA-2784:
------------------------------

UNSTABLE: Integrated in Jenkins build Tika-trunk #1597 (See [https://builds.apache.org/job/Tika-trunk/1597/])
TIKA-2784 -- MockParser should allow us to simulate a parser grabbing (tallison: [https://github.com/apache/tika/commit/536111459c780981b194f6ac159124be6bbffa3a])
* (add) tika-server/src/test/resources/mock/testStaticStdOutErr.xml
* (edit) tika-core/src/test/java/org/apache/tika/parser/mock/MockParser.java
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaServerIntegrationTest.java


> Add static grabbing of stdout/err to MockParser
> -----------------------------------------------
>
>                 Key: TIKA-2784
>                 URL: https://issues.apache.org/jira/browse/TIKA-2784
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0.0, 1.20
>
>
> MockParser allows us to simulate what happens when parsers write to stdout/stderr.  In
a few areas of our codebase, we try to redirect these in an attempt to make these safe for
communication.  Unless we can trust the parsers, communication over stdout/stderr is not safe.
> MockParser does not yet allow us to simulate a truly awful parser grabbing stdout/stderr
during static initialization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message