Demogorgon314 commented on code in PR #23286:
URL: https://github.com/apache/pulsar/pull/23286#discussion_r1758204775
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImplTest.java:
##########
@@ -1897,6 +1902,43 @@ public void unloadTimeoutCheckTest()
TimeUnit.SECONDS).get(2, TimeUnit.SECONDS);
}
+ @Test
+ public void testSystemNonPersistentTopicSchemaCompatibility() throws
Exception {
+ String topicName =
ExtensibleLoadManagerImpl.BROKER_LOAD_DATA_STORE_TOPIC;
+ NonPersistentSystemTopic topic = new
NonPersistentSystemTopic(topicName, pulsar.getBrokerService());
+ Assert.assertEquals(SchemaCompatibilityStrategy.ALWAYS_COMPATIBLE,
topic.getSchemaCompatibilityStrategy());
+
+ var brokerLoadDataStore = LoadDataStoreFactory.create(pulsar,
topicName, BrokerLoadDataV1.class);
Review Comment:
@codelipenghui I have added a test to cover the `BrokerLoadData` format
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]