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

[Feature] Add itcase to test restoring for savepoint state. #280

Open
2 tasks done
loserwang1024 opened this issue Dec 27, 2024 · 4 comments
Open
2 tasks done

[Feature] Add itcase to test restoring for savepoint state. #280

loserwang1024 opened this issue Dec 27, 2024 · 4 comments
Assignees
Labels
feature New feature or request good first issue Good for newcomers

Comments

@loserwang1024
Copy link
Collaborator

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currenly, flink connector lacks the itcase to test restoring for savepoint state.

Solution

No response

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!
@loserwang1024 loserwang1024 added the feature New feature or request label Dec 27, 2024
@luoyuxia luoyuxia added the good first issue Good for newcomers label Jan 6, 2025
@kaori-seasons
Copy link

Hello, is there anyone taking over this job? I want to try it.

@wuchong
Copy link
Member

wuchong commented Jan 19, 2025

@kaori-seasons assigned to you. Do you have any idea about how to implement IT cases for verifying source connector recovery?

@wuchong
Copy link
Member

wuchong commented Jan 19, 2025

@kaori-seasons Flink provides a connector testing framework flink-connector-test-utils that provides basic classes SourceTestSuiteBase and SinkTestSuiteBase. These classes already define basic tests including restoring, savepoint, rescaling, failover, etc. We can try to extend the test classes.

https://github.com/apache/flink/blob/release-1.20/flink-test-utils-parent/flink-connector-test-utils/src/main/java/org/apache/flink/connector/testframe/testsuites/SourceTestSuiteBase.java#L104

@kaori-seasons
Copy link

@kaori-seasons Flink provides a connector testing framework flink-connector-test-utils that provides basic classes SourceTestSuiteBase and SinkTestSuiteBase. These classes already define basic tests including restoring, savepoint, rescaling, failover, etc. We can try to extend the test classes.

https://github.com/apache/flink/blob/release-1.20/flink-test-utils-parent/flink-connector-test-utils/src/main/java/org/apache/flink/connector/testframe/testsuites/SourceTestSuiteBase.java#L104

Okay, thank you very much for your suggestion. I will conduct research and then carry out related work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants