Github user HuangWHWHW commented on the pull request:
https://github.com/apache/flink/pull/1073#issuecomment-136686857
·The mock print stream overwrites only one println() function, which makes
it susceptible to changes in the sink. It is better to use a regular
PrintStream that prints to a StringWriter to collect all contents.·
Hi @StephanEwen
If I change this how can I get the printed message?
Since I use System.setOut(stream); to solve this before.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---