You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/08/27 15:40:29 UTC

[pulsar] branch master updated: Change method name to avoid being run as test (#5044)

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

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new c56ad9d  Change method name to avoid being run as test (#5044)
c56ad9d is described below

commit c56ad9d3018eb00210ec3340e7078db3922b2985
Author: Ali Ahmed <al...@gmail.com>
AuthorDate: Tue Aug 27 08:40:24 2019 -0700

    Change method name to avoid being run as test (#5044)
---
 .../apache/pulsar/websocket/proxy/ProxyAuthenticationTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/websocket/proxy/ProxyAuthenticationTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/websocket/proxy/ProxyAuthenticationTest.java
index 725cad5..f2227c8 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/websocket/proxy/ProxyAuthenticationTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/websocket/proxy/ProxyAuthenticationTest.java
@@ -113,7 +113,7 @@ public class ProxyAuthenticationTest extends ProducerConsumerBase {
 
     }
 
-    public void socketTest() throws Exception {
+    public void checkSocket() throws Exception {
         final String topic = "my-property/my-ns/my-topic1";
         final String consumerUri = "ws://localhost:" + port + "/ws/v2/consumer/persistent/" + topic + "/my-sub";
         final String producerUri = "ws://localhost:" + port + "/ws/v2/producer/persistent/" + topic;
@@ -144,19 +144,19 @@ public class ProxyAuthenticationTest extends ProducerConsumerBase {
 
     @Test(timeOut=10000)
     public void authenticatedSocketTest() throws Exception {
-        socketTest();
+        checkSocket();
     }
 
     @Test(timeOut=10000)
     public void anonymousSocketTest() throws Exception {
-        socketTest();
+        checkSocket();
     }
 
     @Test(timeOut=10000)
     public void unauthenticatedSocketTest() throws Exception{
         Exception exception = null;
         try {
-            socketTest();
+            checkSocket();
         } catch (Exception e) {
             exception = e;
         }