Technoboy- commented on code in PR #15252:
URL: https://github.com/apache/pulsar/pull/15252#discussion_r857101616


##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerTestBase.java:
##########
@@ -50,6 +53,18 @@ private void baseSetupCommon() throws Exception {
         admin.namespaces().setNamespaceReplicationClusters("prop/ns-abc", 
Sets.newHashSet("test"));
     }
 
+    protected void createTransactionCoordinatorAssign() throws 
MetadataStoreException {
+        createTransactionCoordinatorAssign(1);
+    }
+
+    protected void createTransactionCoordinatorAssign(int partitions) throws 
MetadataStoreException {
+        pulsar.getPulsarResources()
+                .getNamespaceResources()
+                .getPartitionedTopicResources()
+                
.createPartitionedTopic(SystemTopicNames.TRANSACTION_COORDINATOR_ASSIGN,
+                        new PartitionedTopicMetadata(1));

Review Comment:
   yes, right. Fix.



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

Reply via email to