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

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

                Author: ASF GitHub Bot
            Created on: 13/Mar/25 18:17
            Start Date: 13/Mar/25 18:17
    Worklog Time Spent: 10m 
      Work Description: AntonRoskvist commented on code in PR #5557:
URL: https://github.com/apache/activemq-artemis/pull/5557#discussion_r1994090994


##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/RedeployTest.java:
##########
@@ -610,9 +610,24 @@ public void testRedeployBridge() throws Exception {
             Queue queue = session.createQueue("c-from");
             MessageProducer producer = session.createProducer(queue);
             producer.send(session.createMessage());
-            Wait.assertEquals(1, () -> 
embeddedActiveMQ.getActiveMQServer().locateQueue("c-to").getMessageCount());
+            Wait.assertEquals(1, () -> 
embeddedActiveMQ.getActiveMQServer().locateQueue("c-to").getMessageCount(), 
2000);
          }
 
+         brokerXML.toFile().setLastModified(System.currentTimeMillis() + 1000);
+         latch.setCount(1);
+         embeddedActiveMQ.getActiveMQServer().getReloadManager().setTick(tick);
+         latch.await(10, TimeUnit.SECONDS);
+         Thread.sleep(5000);

Review Comment:
   Sorry, those where not supposed to be there, forgot to cleanup from some of 
my verification.





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

    Worklog Id:     (was: 961658)
    Time Spent: 40m  (was: 0.5h)

> Bridges with concurrency can leak
> ---------------------------------
>
>                 Key: ARTEMIS-5349
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5349
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Anton Roskvist
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This affects bridges whose configuration has been persisted. Simply adding 
> persistence to the pre-existing test case captures this bug



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to