Commit Graph

4558 Commits

Author SHA1 Message Date
Gary Tully 0dcdab784b https://issues.apache.org/jira/browse/AMQ-4172 - resolve with test. inflight transactions need to just protect a data file range rather than all subsequent data files. so gc can reclaim what is valid
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1436291 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 11:37:23 +00:00
Timothy A. Bish f5d8a05ed7 apply patch for: https://issues.apache.org/jira/browse/AMQ-4260
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434956 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 23:21:54 +00:00
Timothy A. Bish 90790952d6 fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
Depending on timing of events in the test the producer audit can land on the last log file so there can be one or two left.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434514 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 00:13:40 +00:00
Timothy A. Bish 735f2c034d fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto another log file meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434074 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 18:10:36 +00:00
Timothy A. Bish f551570d4c fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto another log file meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434067 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 18:04:31 +00:00
Timothy A. Bish 59d13ad913 fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto log 5 meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434055 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 17:24:38 +00:00
Timothy A. Bish c0b39615d4 fix for failing test, the check for inactive durables was waiting exactly as long as the housekeeping thread's sleep interval which could cause it to sometimes miss the very last run of the housekeeper and falsely detect leftover inactive ones. Make the test wait for longer than the sleep interval and also provide a clean shutdown of the house-keeper thread.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431700 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 22:19:56 +00:00
Gary Tully 109cbe0993 https://issues.apache.org/jira/browse/AMQ-4248 - ensure iter is cleared when we are done, i.e. on call to release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431660 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 21:27:47 +00:00
Gary Tully 7d2ac2d936 derby on virtual hw can be very slow, so a query with an intentionally large backlog can take some time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431494 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:51:12 +00:00
Gary Tully 20d3bdb4eb https://issues.apache.org/jira/browse/AMQ-4157 - test case and fix. when an ack is in a tx we need to wait for the store sync as it may be a rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431463 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:11:40 +00:00
Gary Tully 7d7d6fa08a fix typo in utility class name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431374 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:15:15 +00:00
Gary Tully aaa81deb40 https://issues.apache.org/jira/browse/AMQ-3438 - keep both mbean names, by remoteaddress and by clientid - as navigation between subs and connections uses the clientid but remote connection info based on address has real value to opts. https://issues.apache.org/jira/browse/AMQ-4237 - partition both address types using connectionViewType=remoteAddress|clientId and add clientId to connetionView - now easier to see connections under a clientConnector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431369 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:04:40 +00:00
Gary Tully 99682093d9 https://issues.apache.org/jira/browse/AMQ-3438 - update so we only register a conneciton mbean once, default by remote address or by client id - ManagementContext#allowRemoteAddressInMBeanNames=false (once connectionInfo is received)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431319 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 12:33:56 +00:00
Timothy A. Bish dafc8254ca turn off JMX, not needed in this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431125 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 22:42:37 +00:00
Timothy A. Bish ac23437828 Fix another test that fails because of https://issues.apache.org/jira/browse/AMQ-4237
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431123 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 22:36:17 +00:00
Timothy A. Bish e724226033 Don't use a fixed port and turn of JMX in the broker as its not needed in this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431033 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 19:55:43 +00:00
Timothy A. Bish 0309eb3373 Fix test so it doesn't fail if the disk is a bit full
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431002 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 18:26:27 +00:00
Gary Tully 55fef7200a fix up xml tests, xbean in a required test dep. fix up ref to removed master/slave.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430380 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:52:52 +00:00
Timothy A. Bish 3c83c17787 Fix failing test case, use the returned locator from addLast calls to perform the remove instead of trying with a String.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430360 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:22:53 +00:00
Gary Tully e3626e19bc https://issues.apache.org/jira/browse/AMQ-4237 - resolve unit test regressions for dynamic networkBridge mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430266 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 13:13:27 +00:00
Timothy A. Bish da4302921e test can fail if the machine is bit to slow, give a bit more grace to the test timeouts.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430005 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 21:00:12 +00:00
Timothy A. Bish b79c9868ec fix for: https://issues.apache.org/jira/browse/AMQ-4241
Add a configuration option to control whether properties are set on every output message or only the first one. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 17:22:30 +00:00
Gary Tully f79f7ad426 add queue priority with backlog test, disable cache and expiry processing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429818 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:40:35 +00:00
Timothy A. Bish 5a8ca0b8a8 attempt to fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup, not quite there but close.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429149 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 21:58:25 +00:00
Timothy A. Bish 800e0267fb fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429089 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 20:23:56 +00:00
Timothy A. Bish b2de5f310f code fix and test fix for: https://issues.apache.org/jira/browse/AMQ-4225
NetworkBridge MBeans weren't getting registered because of changes in the Broker MBean naming.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429064 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:53:47 +00:00
Timothy A. Bish 8e9896825f fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428983 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 17:02:29 +00:00
Timothy A. Bish cbee1cc147 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428950 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 16:11:54 +00:00
Gary Tully e5d616da50 https://issues.apache.org/jira/browse/AMQ-4160 - fix up multicast discovery regression - it was giving uniqueue events to add/remove. MulticastDiscoveryOnFaultyNetworkTest - added static variant to that test also to validate existing changes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428901 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 14:48:30 +00:00
Timothy A. Bish b6e3ca74ba fix test failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 23:42:21 +00:00
Timothy A. Bish b2681b9a82 Fix test breakage after latest round of broker fixes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428663 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 23:12:02 +00:00
Timothy A. Bish 5ddc7d65c3 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428578 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:37:04 +00:00
Timothy A. Bish 123a512370 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428569 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 20:12:30 +00:00
Hiram R. Chirino 8dbfbb0095 Make the activemq module just plain jars instead of bundles.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428536 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 18:37:20 +00:00
Timothy A. Bish d0d7231414 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428462 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 16:39:54 +00:00
Timothy A. Bish 4096f9109a fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428458 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 16:33:17 +00:00
Timothy A. Bish 1a57728305 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428425 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 16:05:01 +00:00
Timothy A. Bish a8da85f8a9 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428422 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 16:03:15 +00:00
Timothy A. Bish 60d7cdc1dd fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428420 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 15:57:05 +00:00
Timothy A. Bish e60087608e code fix and test fix for: https://issues.apache.org/jira/browse/AMQ-4225
AbortSlowConsumerStrategy was broken due to a malformed ObjectName being created when the strategy was registered on-demand. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428051 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 21:09:36 +00:00
Timothy A. Bish 7a95e1809b fix test cases after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests queue MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428029 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 20:59:18 +00:00
Timothy A. Bish 982943550f fix test cases after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests queue MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1427881 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:57:22 +00:00
Timothy A. Bish 19bf943dd7 fix test cases after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests queue MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1427878 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:45:19 +00:00
Hiram R. Chirino 64f3c55d80 Clean up some pom dependencies.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1427874 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:33:03 +00:00
Timothy A. Bish 2d84bbd992 fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broker the tests queue MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1427870 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:17:50 +00:00
Robert Davies f0baf856d7 re-applied fix by dejanb
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1426121 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 05:10:13 +00:00
Robert Davies cb7b657ce9 Fix for https://issues.apache.org/jira/browse/AMQ-4237
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425875 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 10:58:30 +00:00
Bosanac Dejan 1f8306b861 fix HealthViewMBeanTest failure when disk space is low
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425740 13f79535-47bb-0310-9956-ffa450edef68
2012-12-25 12:03:27 +00:00
Gary Tully bc45bf8065 https://issues.apache.org/jira/browse/AMQ-4234 https://issues.apache.org/jira/browse/AMQ-4235 - ensure prefetch set via consumer control gets interepreted by policy such that defaults can be overidden, tidy up default prefetch values choices for stomp so they can pick up broker overrides
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424936 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 14:41:23 +00:00
Bosanac Dejan 9383e56043 fix LDAPSecurityTest failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1424462 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 13:47:00 +00:00