[
https://issues.apache.org/jira/browse/AMQ-9840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis Monteiro resolved AMQ-9840.
--------------------------------------
Assignee: Jean-Louis Monteiro
Resolution: Fixed
> Test stabilization: Timing / waits
> ----------------------------------
>
> Key: AMQ-9840
> URL: https://issues.apache.org/jira/browse/AMQ-9840
> Project: ActiveMQ
> Issue Type: Test
> 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/JMSConsumerTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (4b6e4a98c87e Refactor JMSConsumerTest and ZeroPrefetchConsumerTest (#1628),
> PR https://github.com/apache/activemq/pull/1628)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/JmsQueueBrowserTest.java:
> Add Wait.waitFor polling around async conditions. (4b6e4a98c87e Refactor
> JMSConsumerTest and ZeroPrefetchConsumerTest (#1628), PR
> https://github.com/apache/activemq/pull/1628)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/ZeroPrefetchConsumerTest.java:
> Add Wait.waitFor polling around async conditions. (4b6e4a98c87e Refactor
> JMSConsumerTest and ZeroPrefetchConsumerTest (#1628), PR
> https://github.com/apache/activemq/pull/1628)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MKahaDBTxRecoveryTest.java:
> Add Wait.waitFor polling around async conditions. (4b6e4a98c87e Refactor
> JMSConsumerTest and ZeroPrefetchConsumerTest (#1628), PR
> https://github.com/apache/activemq/pull/1628)
> - activemq-http/src/test/java/org/apache/activemq/bugs/AMQ9255Test.java:
> Adjust timeouts or wait periods to reduce flakiness. (a991438aeaf0 Configure
> broker to check for expired messages every second in tests (#1626), PR
> https://github.com/apache/activemq/pull/1626)
> -
> activemq-ra/src/test/java/org/apache/activemq/ra/ActiveMQConnectionFactoryTest.java:
> Adjust timeouts or wait periods to reduce flakiness. (59eb8315cb00 Batch of
> fixes (#1622), PR https://github.com/apache/activemq/pull/1622)
> - activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java:
> Add Wait.waitFor polling around async conditions. (59eb8315cb00 Batch of
> fixes (#1622), PR https://github.com/apache/activemq/pull/1622)
> -
> activemq-ra/src/test/java/org/apache/activemq/ra/ActiveMQConnectionFactoryTest.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompCompositeDestinationTest.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/EmbeddedBrokerTestSupport.java:
> Adjust timeouts or wait periods to reduce flakiness. (928c40a85af9 Flaky
> tests GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/JmsMultipleClientsTestSupport.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/ZeroPrefetchConsumerTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (928c40a85af9 Flaky tests GitHub actions (#1621), PR
> https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ6815Test.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/jms2/ActiveMQJMS2MessageListenerTest.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/network/DurableSyncNetworkBridgeTest.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/network/DynamicallyIncludedDestinationsDuplexNetworkTest.java:
> Add Wait.waitFor polling around async conditions. (928c40a85af9 Flaky tests
> GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkAdvancedStatisticsTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (928c40a85af9 Flaky tests GitHub actions (#1621), PR
> https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/network/VirtualConsumerDemandTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (928c40a85af9 Flaky tests GitHub actions (#1621), PR
> https://github.com/apache/activemq/pull/1621)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java:
> Adjust timeouts or wait periods to reduce flakiness. (928c40a85af9 Flaky
> tests GitHub actions (#1621), PR https://github.com/apache/activemq/pull/1621)
> -
> activemq-ra/src/test/java/org/apache/activemq/ra/ActiveMQConnectionFactoryTest.java:
> Add Wait.waitFor polling around async conditions. (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-stomp/src/test/java/org/apache/activemq/transport/stomp/StompCompositeDestinationTest.java:
> Add Wait.waitFor polling around async conditions. (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/ZeroPrefetchConsumerTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (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/bugs/AMQ6815Test.java:
> Add Wait.waitFor polling around async conditions. (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/jms2/ActiveMQJMS2MessageListenerTest.java:
> Add Wait.waitFor polling around async conditions. (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/network/DurableSyncNetworkBridgeTest.java:
> Add Wait.waitFor polling around async conditions. (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/network/DynamicallyIncludedDestinationsDuplexNetworkTest.java:
> Add Wait.waitFor polling around async conditions. (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/network/NetworkAdvancedStatisticsTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (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/network/VirtualConsumerDemandTest.java:
> Replace Thread.sleep with Wait.waitFor-based polling for async conditions.
> (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/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java:
> Adjust timeouts or wait periods to reduce flakiness. (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-amqp/src/test/java/org/apache/activemq/transport/amqp/JMSClientTestSupport.java:
> Adjust Thread.sleep delays for async completion. (433c39569d98 [AMQ-8525]
> enable parallel tests execution for amqp and kahadb-store modules (#1544), PR
> https://github.com/apache/activemq/pull/1544)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/broker/policy/SendDuplicateFromStoreToDLQTest.java:
> Add Wait.waitFor polling around async conditions. (a6b11f7e8ed5 [AMQ-8525]
> Fix random failures and run an eligible subset in parallel (#1542), PR
> https://github.com/apache/activemq/pull/1542)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ3140Test.java:
> Adjust timeouts or wait periods to reduce flakiness. (a6b11f7e8ed5 [AMQ-8525]
> Fix random failures and run an eligible subset in parallel (#1542), PR
> https://github.com/apache/activemq/pull/1542)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ7118Test.java:
> Add Wait.waitFor polling around async conditions. (a6b11f7e8ed5 [AMQ-8525]
> Fix random failures and run an eligible subset in parallel (#1542), PR
> https://github.com/apache/activemq/pull/1542)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/jms2/ActiveMQJMS2MessageListenerTest.java:
> Add Wait.waitFor polling around async conditions. (a6b11f7e8ed5 [AMQ-8525]
> Fix random failures and run an eligible subset in parallel (#1542), PR
> https://github.com/apache/activemq/pull/1542)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/transport/MaxFrameSizeEnabledTest.java:
> Add Wait.waitFor polling around async conditions. (a6b11f7e8ed5 [AMQ-8525]
> Fix random failures and run an eligible subset in parallel (#1542), PR
> https://github.com/apache/activemq/pull/1542)
> -
> activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompMaxFrameSizeTest.java:
> Increase the receive timeout to 10 seconds to reduce flakiness (ParallelTest
> annotation added). (f25bc526dc94 AMQ-8525: Execute tests in parallel when
> possible (#1540), PR https://github.com/apache/activemq/pull/1540)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/perf/InactiveDurableTopicTest.java:
> Adjust timeouts or wait periods to reduce flakiness. (863cdca4947a AMQ-9809:
> org.apache.activemq.perf.InactiveDurableTopicTest hanging (#1537), PR
> https://github.com/apache/activemq/pull/1537)
> -
> activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TransactedStoreUsageSuspendResumeTest.java:
> Adjust timeouts or wait periods to reduce flakiness. (0b5875539321 AMQ-8525:
> Improve execution time for CI (#1539), PR
> https://github.com/apache/activemq/pull/1539)",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