You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/09/28 19:58:54 UTC
[GitHub] [geode] echobravopapa commented on a change in pull request #5562: GEODE-8542: java.lang.IllegalStateException: tcp message exceeded max…
echobravopapa commented on a change in pull request #5562:
URL: https://github.com/apache/geode/pull/5562#discussion_r496195999
##########
File path: geode-core/src/test/java/org/apache/geode/internal/tcp/MsgStreamerTest.java
##########
@@ -92,9 +117,9 @@ protected BaseMsgStreamer createMsgStreamer(boolean mixedDestinationVersions) {
when(connection2.getRemoteAddress()).thenReturn(member2);
when(connection2.getSendBufferSize()).thenReturn(Connection.SMALL_BUFFER_SIZE);
if (mixedDestinationVersions) {
- when(connection1.getRemoteVersion()).thenReturn(KnownVersion.GEODE_1_12_0);
+ when(connection2.getRemoteVersion()).thenReturn(KnownVersion.GEODE_1_12_0);
} else {
- when(connection1.getRemoteVersion()).thenReturn(KnownVersion.CURRENT);
+ when(connection2.getRemoteVersion()).thenReturn(KnownVersion.CURRENT);
Review comment:
`connection2` does not seem to be used in the test cases
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org