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 f9faef834df Fix cherry-pick #20595 causes compile issue
f9faef834df is described below

commit f9faef834dfaff75b0771c234b72d4cc4231b6cf
Author: Jiwe Guo <[email protected]>
AuthorDate: Wed Jul 5 09:25:38 2023 +0800

    Fix cherry-pick #20595 causes compile issue
---
 .../test/java/org/apache/pulsar/client/impl/ConnectionHandlerTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConnectionHandlerTest.java
 
b/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConnectionHandlerTest.java
index f29d62db5f4..c2ffbfa5d92 100644
--- 
a/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConnectionHandlerTest.java
+++ 
b/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConnectionHandlerTest.java
@@ -75,7 +75,7 @@ public class ConnectionHandlerTest extends 
ProducerConsumerBase {
                         return CompletableFuture.completedFuture(null);
                     });
             handler.grabCnx();
-            Assert.assertEquals(future.join(), i);
+            Assert.assertEquals(future.join(), Integer.valueOf(i));
         }
     }
 

Reply via email to