[
https://issues.apache.org/jira/browse/FLINK-22080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-22080:
-----------------------------------
Labels: stale-major (was: )
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Major but is unassigned and neither itself nor its Sub-Tasks have been updated
for 30 days. I have gone ahead and added a "stale-major" to the issue". If this
ticket is a Major, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> Refactor SqlClient for better testing
> -------------------------------------
>
> Key: FLINK-22080
> URL: https://issues.apache.org/jira/browse/FLINK-22080
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Client
> Reporter: Jark Wu
> Priority: Major
> Labels: stale-major
>
> Currently, we added a JUnit Rule {{TerminalStreamsResource}} to replace
> {{System.in}} and {{System.out}} stream to get the output of SqlClient.
> However, this is not safe, especially used by multiple tests.
> We should refactor {{SqlClient}} to expose a new testing purpose {{main}}
> method which can pass in custom {{InputStream}} and {{OutputStream}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)