Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Currently, adding test for a new feature in SQL Client is difficult. There is no clear clue where to add tests. Besides, all the tests in SQL Client module is somewhat unit test, there is no integration tests. That's why we can see many little bugs in this module.
An end-to-end component path of SQL Client is:
SqlClient => CliClient => parse sql => invoke
For example, CliClientTest only tests Sql Parser in CliClient, and LocalExecutorITCase only tests LocalExecutor. Therefore, this issue aims to resolve this problem, introduce a new integration framework to test end-to-end of SQL Client.
Attachments
Issue Links
- is duplicated by
-
FLINK-21614 Introduce a new integration test framework for SQL Client
- Closed