[jira] [Created] (FLINK-15676) Improve test code of JDBCUpsertTableSinkITCase and JDBCLookupFunctionITCase

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15676) Improve test code of JDBCUpsertTableSinkITCase and JDBCLookupFunctionITCase

Shang Yuanchun (Jira)
hailong wang created FLINK-15676:
------------------------------------

             Summary: Improve test code of JDBCUpsertTableSinkITCase and JDBCLookupFunctionITCase
                 Key: FLINK-15676
                 URL: https://issues.apache.org/jira/browse/FLINK-15676
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / JDBC
    Affects Versions: 1.10.0
            Reporter: hailong wang
             Fix For: 1.11.0


JDBC Connector test code has basic class JDBCTestBase

to create table, insert data and drop table. So we should extend it when we should look data from jdbc or insert. This will ensure the test code is clean. I found JDBCUpsertTableSinkITCase and JDBCLookupFunctionITCase create table and drop table by itself. So I think JDBCUpsertTableSinkITCase and JDBCLookupFunctionITCase should reflect to extend JDBCTestBase to reuse it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)