Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
AIX and Solaris
-
Patch Available
-
Unit Test Broken
Description
Problem tests include:
AMQ2584Test
AMQ2870Test
QueueMbeanRestartTest
FailoverTransactionTest
ConcurrentProducerDurableConsumerTest
DurableSubscriptionOfflineTest
The patch adds timeouts, and for the AMQ2584Test and AMQ2870Test does not run the LevelDB instance of the test, as these fail in tearDown, so timeouts do not prevent the tests from hanging.
Note: Where possible I've changed these from using CombinationTestSupport to JUnit4 Parameterized tests with timeouts defined. It looks like sometimes if a test which extends CombinationTestSupport turns on AutoFail and a timeout occurs, Maven reports the following:
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0