You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/03/26 01:47:44 UTC

[GitHub] [helix] pkuwm opened a new issue #910: Unit test TestZNRecordSerializeWriteSizeLimit fails

pkuwm opened a new issue #910: Unit test TestZNRecordSerializeWriteSizeLimit fails
URL: https://github.com/apache/helix/issues/910
 
 
   Test log:
   ```
   testZNRecordSerializerWriteSizeLimit(org.apache.helix.zookeeper.datamodel.serializer.TestZNRecordSerializeWriteSizeLimit)  Time elapsed: 0.123 sec  <<< FAILURE!
   org.apache.helix.zookeeper.zkclient.exception.ZkMarshallingError: Data size: 5445 is greater than 2000 bytes, is compressed: true, ZNRecord.id: record
   	at org.apache.helix.zookeeper.datamodel.serializer.ZNRecordSerializer.serialize(ZNRecordSerializer.java:110)
   	at org.apache.helix.zookeeper.datamodel.serializer.TestZNRecordSerializeWriteSizeLimit.verifyAutoCompression(TestZNRecordSerializeWriteSizeLimit.java:151)
   	at org.apache.helix.zookeeper.datamodel.serializer.TestZNRecordSerializeWriteSizeLimit.testZNRecordSerializerWriteSizeLimit(TestZNRecordSerializeWriteSizeLimit.java:125)
   
   
   Results :
   
   Failed tests:
     TestZNRecordSerializeWriteSizeLimit.testAutoCompressionDisabled:64->verifyAutoCompression:151 » ZkMarshalling
     TestZNRecordSerializeWriteSizeLimit.testZNRecordSerializerWriteSizeLimit:125->verifyAutoCompression:151 » ZkMarshalling
   
   Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
   ```
   Reason: There was a exception type change in znrecord serializers: ZkClientException -> ZkMarshallingError. So the exception types don't match in the unit test.
   
   Solution: Change the exception type in the unit test.
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org


[GitHub] [helix] jiajunwang closed issue #910: Unit test TestZNRecordSerializeWriteSizeLimit fails

Posted by GitBox <gi...@apache.org>.
jiajunwang closed issue #910: Unit test TestZNRecordSerializeWriteSizeLimit fails
URL: https://github.com/apache/helix/issues/910
 
 
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org