-
Notifications
You must be signed in to change notification settings - Fork 830
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow Update: add more test for different workflow completion comm…
…ands (#6396) ## What changed? <!-- Describe what has changed in this PR --> Add more test for different workflow completion commands. ## Why? <!-- Tell your future self why have you made these changes --> Only `COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION` case was covered before. This PR adds `COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION` and `COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION` cases which should behave exactly the same (in term of dealing with workflow updates). It also proves that besides very specific edge case described in #6375 workflow updates and "continue as new" work together as expected. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> Run locally. ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> N/A ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> No. ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> No.
- Loading branch information
Showing
2 changed files
with
157 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters