-
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-438: Validate if RPC method is not final #287
Conversation
961c032
to
d33573e
Compare
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.
LGTM! Is there a way to add Unit Testing for this? I'm guessing the answer is no, but always good to double-check.
I think there can be. Let me try! |
c74cf40
to
6dac485
Compare
That would be more complicated than expected. Adding a workflow with a finalized RPC method causes the service to crash at the start, which makes everything fail. See this commit: c210761 To implement the test, I would need to spin up two Spring Boot apps: one that implements a finalized RPC method and another without it. Then, the first one would be only created to verify that it fails at the start, and the other one would be used for all existing tests. This seems to be somewhat complicated and not worth investing the required effort |
Makes sense! Thanks so much for looking into that |
Description
Checklist
Related Issue
Closes #286