-
Notifications
You must be signed in to change notification settings - Fork 9
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
IWF-107: Updating iwf-idl submodule to reflect changes for IdReusePol… #243
Conversation
@longquanzheng I wasn't able to find any references to ALLOW_IF_PREVIOUS_EXISTS_ABNORMALLY in this repo except for within the iwf-idl submodule, so I just updated it to reflect the changes made previously. |
I think that’s right. Because we don’t have any tests or code directly referencing to it. We allow client to pass the policy in workflow options. |
@longquanzheng Test added. Please re-review. |
import io.iworkflow.core.communication.Communication; | ||
import io.iworkflow.core.persistence.Persistence; | ||
|
||
public class AbnormalExitState1 implements WorkflowState<Integer> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: it's better to set retry policy to let the workflow fail immediate after one attempt. So that the test can complete earlier: https://github.com/indeedeng/iwf-java-sdk/blob/main/src/test/java/io/iworkflow/integ/stateapifail/StateFailBasic.java#L43
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I added it.
…icy typo changes
Description
Checklist
Related Issue
Closes #204