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

ASF GitHub Bot commented on FLINK-7792:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/4792

    [FLINK-7792] [tests][client] Only suppress stdout for CLI tests

    ## What is the purpose of the change
    
    This PR modifies the CliFrontendTestUtils to only suppress stdout. 
Previously we were also suppressing stderr, which also disabled logging.
    
    ## Verifying this change
    
    To verify that this does not cause noise tests, run all tests under 
`org.apache.flink.client` in `flink-clients` which are the sole users of this 
method.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 7792

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4792.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4792
    
----
commit 57c8293435de3e2c42fa6e37a95a3c62f69f710c
Author: zentol <ches...@apache.org>
Date:   2017-10-10T14:38:08Z

    [FLINK-7792] [tests][client] Only suppress stdout for CLI tests

----


> CliFrontend tests suppress logging
> ----------------------------------
>
>                 Key: FLINK-7792
>                 URL: https://issues.apache.org/jira/browse/FLINK-7792
>             Project: Flink
>          Issue Type: Bug
>          Components: Client, Tests
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Trivial
>             Fix For: 1.4.0
>
>
> The CliFrontendTests in flink-clients call 
> `CliFrontendTestUtils#pipeSsytemOutToNull` to suppress the various print 
> statements.
> This method however also redirects stderr, causing all log output to be 
> suppressed as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to