This is an automated email from the ASF dual-hosted git repository. aahmed pushed a commit to branch test_fix2 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit a393cffa88d3c4046a157fa526093f6a4ba2c5ba Author: Ali Ahmed <[email protected]> AuthorDate: Mon Aug 26 14:25:11 2019 -0700 Change method name to avoid being run as test --- .../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; }
