[ 
https://issues.apache.org/jira/browse/ARTEMIS-2637?focusedWorklogId=394918&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-394918
 ]

ASF GitHub Bot logged work on ARTEMIS-2637:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Feb/20 14:52
            Start Date: 28/Feb/20 14:52
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on pull request #2994: ARTEMIS-2637 
Making UDP client discovery resilient
URL: https://github.com/apache/activemq-artemis/pull/2994#discussion_r385737807
 
 

 ##########
 File path: 
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/topology/NettyHAClientTopologyWithDiscoveryTest.java
 ##########
 @@ -16,11 +16,146 @@
  */
 package org.apache.activemq.artemis.tests.integration.cluster.topology;
 
+import org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration;
+import org.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory;
+import org.apache.activemq.artemis.api.core.client.ActiveMQClient;
+import org.apache.activemq.artemis.api.core.client.ClientSession;
+import org.apache.activemq.artemis.api.core.client.ClientSessionFactory;
+import org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl;
+import org.junit.Assert;
+import org.junit.Test;
+
+import java.util.concurrent.CyclicBarrier;
+import java.util.concurrent.atomic.AtomicInteger;
+
 public class NettyHAClientTopologyWithDiscoveryTest extends 
HAClientTopologyWithDiscoveryTest {
 
    @Override
    protected boolean isNetty() {
       return true;
    }
 
+
+
+   @Test
+   public void testRecoveryBadUDPWithRetry() throws Exception {
 
 Review comment:
   There are no assertions in this test?
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 394918)
    Time Spent: 20m  (was: 10m)

> Resilience around UDP Discovery
> -------------------------------
>
>                 Key: ARTEMIS-2637
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2637
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.11.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> when Using the Client Discovery, if there is no response from the servers, 
> the client fails with a timeout.
> I have been dealing with a situation where something drops the UDP 
> connection, such as firewal, OS, I don't know what... but that required me to 
> add a retry logic on that specific case.
> so, in case there's a timeout on the client and discovery is being used, the 
> client will now reconnect UDP.
> and the initial-connect-attempts will also be used to loop around the 
> discovery part.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to