You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/10/29 02:51:52 UTC

[GitHub] [incubator-ratis] runzhiwang commented on a change in pull request #234: RATIS-1108. Add SupportedDataStreamType.DISABLED

runzhiwang commented on a change in pull request #234:
URL: https://github.com/apache/incubator-ratis/pull/234#discussion_r513899216



##########
File path: ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStreamBase.java
##########
@@ -206,15 +192,15 @@ void runTestDataStream(int bufferSize, int bufferNum) {
       final DataStreamReply reply = impl.getHeaderFuture().join();
       Assert.assertTrue(reply.isSuccess());
       Assert.assertEquals(0, reply.getBytesWritten());
-      Assert.assertEquals(reply.getType(), Type.STREAM_HEADER);
+      Assert.assertEquals(reply.getType(), DataStreamPacketHeaderProto.Type.STREAM_HEADER);

Review comment:
       why need this change ?




----------------------------------------------------------------
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