-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-19850] Add e2e tests for the new File Sink in the streaming mode #13841
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
Conversation
|
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 86e3c59 (Thu Oct 29 11:04:08 UTC 2020) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. DetailsThe Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
23f664b to
87f6e43
Compare
|
Instead of copying the |
|
I would also second @aljoscha 's opinion if this is possible. If I recall correctly it is using the |
|
Very thanks for the review! The initial thought is that we might need also support batch mode in the future, which would change the scripts and test program, but I also agree with that it would be better to reuse the current codes to decrease the duplication until they diverge. I'll modify the PR to reuse the existing test~ |
c9f6bed to
62cc004
Compare
62cc004 to
dc49dc7
Compare
ba30909 to
06c9fd3
Compare
|
Merged! |
|
Note: This PR has been merged despite a build failure, which now permanently breaks build on master. |
|
I reverted the change. |
What is the purpose of the change
This PR adds the e2e tests for the new FileSink. In the e2e tests we mainly focus on cases of TaskMangers get killed, thus we only test the streaming mode since for batch mode, in this version the new file sink still not be able to achieve exactly-once if the ResultPartition gets lost. The stream & batch mode for cases of task failover is covered by
FileSinkITCase.Therefore, the PR is roughly a copy of the E2E test of the
StreamingFileSink.Brief change log
Verifying this change
This change is a test for itself.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation