gaoran10 commented on a change in pull request #10604:
URL: https://github.com/apache/pulsar/pull/10604#discussion_r634456264
##########
File path:
pulsar-client/src/test/java/org/apache/pulsar/client/impl/schema/generic/MultiVersionSchemaInfoProviderTest.java
##########
@@ -61,7 +62,7 @@ public void testGetSchema() throws Exception {
any(TopicName.class),
any(byte[].class)))
.thenReturn(completableFuture);
- SchemaInfo schemaInfoByVersion = schemaProvider.getSchemaByVersion(new
byte[0]).get();
+ SchemaInfo schemaInfoByVersion = schemaProvider.getSchemaByVersion(new
LongSchemaVersion(0).bytes()).get();
Review comment:
The change of the class MultiVersionSchemaInfoProvider is not necessary
and I revert this test. Thanks.
--
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:
[email protected]