This is an automated email from the ASF dual-hosted git repository.

technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.11 by this push:
     new 72a10b2f0d8 Fix compile failure
72a10b2f0d8 is described below

commit 72a10b2f0d88be8f9377789d4de2598d5baff977
Author: Jiwe Guo <techno...@apache.org>
AuthorDate: Fri Apr 28 11:27:34 2023 +0800

    Fix compile failure
---
 .../client/api/TopicNameForInfiniteHttpCallGetSubscriptionsTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TopicNameForInfiniteHttpCallGetSubscriptionsTest.java
 
b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TopicNameForInfiniteHttpCallGetSubscriptionsTest.java
index 2efc4f4e780..3b1222f5b55 100644
--- 
a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TopicNameForInfiniteHttpCallGetSubscriptionsTest.java
+++ 
b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/TopicNameForInfiniteHttpCallGetSubscriptionsTest.java
@@ -1,4 +1,4 @@
-/*
+/**
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -42,7 +42,7 @@ public class TopicNameForInfiniteHttpCallGetSubscriptionsTest 
extends ProducerCo
     @Override
     protected void doInitConf() throws Exception {
         super.doInitConf();
-        conf.setAllowAutoTopicCreationType(TopicType.PARTITIONED);
+        conf.setAllowAutoTopicCreationType(TopicType.PARTITIONED.toString());
         conf.setDefaultNumPartitions(1);
     }
 

Reply via email to