[ 
https://issues.apache.org/jira/browse/AMQ-9835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Louis Monteiro resolved AMQ-9835.
--------------------------------------
      Assignee: Jean-Louis Monteiro
    Resolution: Fixed

> Test stabilization: Ephemeral ports / bind uri
> ----------------------------------------------
>
>                 Key: AMQ-9835
>                 URL: https://issues.apache.org/jira/browse/AMQ-9835
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: JMX
>            Reporter: Jean-Louis Monteiro
>            Assignee: Jean-Louis Monteiro
>            Priority: Major
>             Fix For: 6.3.0
>
>
> Affected tests and fixes:
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java:
>  Use ephemeral ports and the broker's actual URI for SSL/TCP connection tests 
> (socket params moved to client URI). (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverConsumerOutstandingCommitTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverConsumerUnconsumedTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverDuplicateTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverPrefetchZeroTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTransactionTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverXATransactionTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (59eb8315cb00 Batch of fixes (#1622), PR 
> https://github.com/apache/activemq/pull/1622)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverDurableSubTransactionTest.java:
>  Use publishable broker URI after startup for ephemeral ports in failover 
> tests. (1149a9ff1e74 AMQ-9829 Track prefetched messages for duplicate 
> suppression during failover (#1616), PR 
> https://github.com/apache/activemq/pull/1616)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/auto/nio/AutoNIOJmsDurableTopicSendReceiveTest.java:
>  Use an ephemeral auto+nio broker port (localhost:0) instead of a fixed port. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/auto/nio/AutoNIOJmsSendAndReceiveTest.java:
>  Use an ephemeral auto+nio broker port (localhost:0) instead of a fixed port. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/auto/nio/AutoNIOPersistentSendAndReceiveTest.java:
>  Use an ephemeral auto+nio broker port (localhost:0) instead of a fixed port. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/nio/NIOJmsDurableTopicSendReceiveTest.java:
>  Use an ephemeral NIO port and connect via the broker's publishable URI. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/nio/NIOJmsSendAndReceiveTest.java:
>  Use an ephemeral NIO port and connect via the broker's publishable URI. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/nio/NIOTransportBrokerTest.java:
>  Use an ephemeral NIO bind port (localhost:0) for broker tests. (94c3c3dac231 
> Facky tests revealed mainly with faster CI (aka Github Actions but also with 
> Java 25) (#1610), PR https://github.com/apache/activemq/pull/1610)
> - 
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java:
>  Use an ephemeral TCP port and refresh bindAddress after broker start. 
> (94c3c3dac231 Facky tests revealed mainly with faster CI (aka Github Actions 
> but also with Java 25) (#1610), PR 
> https://github.com/apache/activemq/pull/1610)",Task



--
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