Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jdbc connector e2e test #2321

Merged
merged 23 commits into from
Aug 15, 2022
Merged

Add jdbc connector e2e test #2321

merged 23 commits into from
Aug 15, 2022

Conversation

zhangyuge1
Copy link
Contributor

Purpose of this pull request

Check list

@CalvinKirs
Copy link
Member

#2255 . License it's ok. I will take a look when my free.

@CalvinKirs CalvinKirs added the test label Aug 1, 2022
@zhangyuge1 zhangyuge1 mentioned this pull request Aug 2, 2022
3 tasks
while (resultSet.next()) {
result.add(resultSet.getString("name"));
}
Assertions.assertFalse(result.isEmpty());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only check is not isEmpty that is not accurate.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to do data quality check.

@ic4y
Copy link
Contributor

ic4y commented Aug 12, 2022

@zhangyuge1 Thank you for your contribution.

At present, only batch tests are covered, Streaming Mode and Exactly-Once Streaming Mode are not covered。Can you add these two test scenarios? And abstract public methods for use by mysql, pgsql, and dmsql . . .

Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this PR only test the jdbc connector can work in batch mode, but don't check the data quality, this can be implemented in another PR.

@CalvinKirs CalvinKirs merged commit 5fbcb81 into apache:dev Aug 15, 2022
TyrantLucifer pushed a commit to TyrantLucifer/incubator-seatunnel that referenced this pull request Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants