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][SeaTunnel Engine] Add test to test stream job recover when all cluster node done and restart #3430

Closed
2 of 3 tasks
EricJoy2048 opened this issue Nov 14, 2022 · 1 comment
Assignees
Labels

Comments

@EricJoy2048
Copy link
Member

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

Add a test to do this:

  1. 3 node cluster start and then submit a stream job (Fake Source -> LocalFile Sink, and Fake Source will write 6000 rows. You can reference https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/ClusterFaultToleranceIT.java)
  2. Stop all nodes when there are some rows write into the local files.
  3. Start all nodes.
  4. Check the job status will recover to Running.
  5. Wait and check the local files will have all the row write from Fake Source and the number of the rows are 6000.
  6. Cannel the job and wait the job's status turn to CANCELED.
  7. Stop the cluster client.
  8. Stop all cluster nodes.

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@TaoZex
Copy link
Contributor

TaoZex commented Nov 14, 2022

I want to try this task, it will help me understand engine better. Please assign it to me,thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants