temporalio / temporalio/sdk-java
Add unit test covering scenario of Server outage during Worker sending workflow task execution result
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 433
- Forks
- 249
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 26
Description
Is your feature request related to a problem? Please describe.
https://github.com/temporalio/sdk-java/pull/1265 fixed a bug that happens if Temporal Server is down when workers are reporting the results to the Server. But right now there is no ability to test the scenario of such an outage.
Describe the solution you'd like
Temporal SDK should add support for such tests to Test Server. Also, a unit test for this bug and fix should be implemented.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing PR 1265 and the Temporal Test Server support used by the Java SDK tests. Add a way to simulate a Server outage while a Worker reports a workflow task result, then add a regression test demonstrating the fixed behavior and verify the test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100