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

Add integration test for reset with update events #1507

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Jun 10, 2024

Add integration test for reset with update events.

},
Reason: "integration test",
WorkflowTaskFinishEventId: 4,
ResetReapplyType: enumspb.RESET_REAPPLY_TYPE_ALL_ELIGIBLE,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dandavison The api docs say the default value for ResetReapplyType is RESET_REAPPLY_TYPE_ALL_ELIGIBLE, but that does not appear to be the case as if I don't specify it manually the test fails. Is this a bug?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's because you also have specified exclude. You can't specify both. One or the other.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I throw an error on that in Core actually

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the update-reset-integration-test branch from 12fc23f to 03995ea Compare June 12, 2024 20:09
@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review June 12, 2024 23:30
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner June 12, 2024 23:30
@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the update-reset-integration-test branch from 03995ea to e531dd8 Compare June 13, 2024 05:43
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 30a29ce into temporalio:master Jun 13, 2024
13 checks passed
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 this pull request may close these issues.

2 participants