ibessonov commented on code in PR #2814:
URL: https://github.com/apache/ignite-3/pull/2814#discussion_r1386201931
##########
modules/raft/src/test/java/org/apache/ignite/internal/raft/RaftGroupServiceTest.java:
##########
@@ -617,7 +618,7 @@ private void mockUserInput(boolean delay, @Nullable Peer
peer) {
argThat(new ArgumentMatcher<ActionRequest>() {
@Override
public boolean matches(ActionRequest arg) {
- return arg.command() instanceof TestWriteCommand;
+ return arg instanceof WriteActionRequest &&
((WriteActionRequest) arg).command() instanceof TestWriteCommand;
Review Comment:
Next issue will change the type of `command()` property for write commands
into a byte[], interfaces will become incompatible
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]