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

End-to-End tests for cancellation #228

Closed
Tracked by #978
slinkydeveloper opened this issue Nov 29, 2023 · 0 comments · Fixed by #236
Closed
Tracked by #978

End-to-End tests for cancellation #228

slinkydeveloper opened this issue Nov 29, 2023 · 0 comments · Fixed by #236
Assignees

Comments

@slinkydeveloper
Copy link
Collaborator

slinkydeveloper commented Nov 29, 2023

Making sure that canceling actually cancels the leaves and stops the parents.

@slinkydeveloper slinkydeveloper transferred this issue from restatedev/restate Nov 29, 2023
@tillrohrmann tillrohrmann self-assigned this Dec 15, 2023
tillrohrmann added a commit to tillrohrmann/e2e that referenced this issue Dec 18, 2023
This commit adds new e2e tests which ensure that cancellation works.
The following call chains are canceled:

* CancelTestService/StartTest --> BlockingService/Block --> BlockingSerivce/Block (inboxed call since BlockingService is singleton)
* CancelTestService/StartTest --> BlockingService/Block --> uncompleted awakeable
* CancelTestService/StartTest --> BlockingService/Block --> very long sleep

This fixes restatedev#228.
tillrohrmann added a commit to tillrohrmann/e2e that referenced this issue Dec 18, 2023
This commit adds new e2e tests which ensure that cancellation works.
The following call chains are canceled:

* CancelTestService/StartTest --> BlockingService/Block --> BlockingSerivce/Block (inboxed call since BlockingService is singleton)
* CancelTestService/StartTest --> BlockingService/Block --> uncompleted awakeable
* CancelTestService/StartTest --> BlockingService/Block --> very long sleep

This fixes restatedev#228.
tillrohrmann added a commit to tillrohrmann/e2e that referenced this issue Dec 18, 2023
This commit adds new e2e tests which ensure that cancellation works.
The following call chains are canceled:

* CancelTestService/StartTest --> BlockingService/Block --> BlockingSerivce/Block (inboxed call since BlockingService is singleton)
* CancelTestService/StartTest --> BlockingService/Block --> uncompleted awakeable
* CancelTestService/StartTest --> BlockingService/Block --> very long sleep

This fixes restatedev#228.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants