Commit Graph

4066 Commits

Author SHA1 Message Date
Gary Tully a8d3908586 resolve intermittent hang of JDBCQueueMasterSlaveTest - shutdown of the executor used to check the db lock during shutdown may cause the shutdown thread to interrupt and die before shutdown is complete. A wait for shutdown to complete can hang forever. Just cancelling the periodic tasks is sufficient
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 23:00:20 +00:00
Bosanac Dejan 444412f0df fix for https://issues.apache.org/activemq/browse/AMQ-1380 - upgrade to activeio 3.1.2 and remove backport dependencies
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797359 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 08:31:56 +00:00
Bosanac Dejan 2350d8b764 fix for https://issues.apache.org/activemq/browse/AMQ-2069 - thread deadlock in endpoint worker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797052 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 12:58:53 +00:00
Bosanac Dejan a039a0e997 additional improvement for https://issues.apache.org/activemq/browse/AMQ-2238 - include commons-codec in lib/optional
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797007 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 10:25:53 +00:00
Gary Tully f36aa55c4a improve assert information to help diagnose intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796983 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 09:00:40 +00:00
Gary Tully 432dcfeecf reenable test to verify https://issues.apache.org/activemq/browse/AMQ1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796734 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:12:36 +00:00
Gary Tully c94279e12e add some detail to the assertion to help diagnost intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:11:45 +00:00
Gary Tully 5a0f76d0f2 make test more tolerant to slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796694 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 13:10:31 +00:00
Gary Tully fb42a11835 resolve potential test hang if jdbc persistence adapter stop results in an exception, it should handle and log any exceptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796681 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:58:14 +00:00
Gary Tully 7f8eb612cd ensure a hang does not block full test run to determine if hang can be isolated
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796673 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:29:56 +00:00
Gary Tully 32acb34018 test case for https://issues.apache.org/activemq/browse/AMQ-2183
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796646 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:42:34 +00:00
Gary Tully f998d1b3dc suppress info message on failure to send remove command as this will always fail on shutdown for a vm connection which is ugly for the default config. leave it at debug level
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:44 +00:00
Gary Tully 3f32e76ac6 apply modified patch and test case to resolve: https://issues.apache.org/activemq/browse/AMQ-2216
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795848 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 14:12:48 +00:00
Gary Tully 5e90f00e8d defer task start till cursor is started - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 09:59:03 +00:00
Gary Tully a1bd85e0bc use non compencating schedualler and ensure DLQ copies message early - ensures accurate processing of expired messages - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 23:18:29 +00:00
Bosanac Dejan e5584e6e78 fix for https://issues.apache.org/activemq/browse/AMQ-2327 - close proxy consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795069 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:43:59 +00:00
Gary Tully ed0b08bbd9 resolve intermittent failure resulting from fix for https://issues.apache.org/activemq/browse/AMQ-2283 - match of url needs to take account of absent query parameters in broadcast address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 16:03:24 +00:00
Bosanac Dejan 11e407ea45 modifying the tests so we can verify that all proxy consumers are closed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794240 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 11:56:39 +00:00
Gary Tully ca242f4a34 resolve some issue with duplicate expiry due to concurrent execution with expiry task and dispatch/acks etc. some more tests for stats included - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@793892 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:59:19 +00:00
Bosanac Dejan 8c6e5dccea allow stomp test to run nicely on slower boxes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792911 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 12:20:51 +00:00
Bosanac Dejan d3649fc709 fix for https://issues.apache.org/activemq/browse/AMQ-1804 - connection factory xbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792884 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:10:30 +00:00
Gary Tully dbe847e0da resolve https://issues.apache.org/activemq/browse/AMQ-2322 - test and correction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792598 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:26:42 +00:00
Gary Tully a72f26f0df resolve https://issues.apache.org/activemq/browse/AMQ-2321
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792591 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:00:29 +00:00
Gary Tully 5c15b52e51 give reconnect randomness some more time to kick in
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792538 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 13:00:40 +00:00
Gary Tully c19e93976c wait for broker start and jmx rmi endpoint for slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792533 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:48:48 +00:00
Gary Tully 63f14732c7 patched test from: https://issues.apache.org/activemq/browse/AMQ-1763 - still cannot reproduce
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792220 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:40:54 +00:00
Gary Tully bd1b10c207 resolve https://issues.apache.org/activemq/browse/AMQ-2283. In suppressing asyncColos I found the need to suppress brodcast of query parameters by the multicast discovery agent as server side and client side options are not compatible. Added support to the DiscoveryTransport to apply query parameters to each uri that it discovers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792127 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:00:44 +00:00
Gary Tully 2a6c87259c disable ProxyConnectorTest pending resolution of https://issues.apache.org/activemq/browse/AMQ-2050
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792078 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 09:25:28 +00:00
Gary Tully 7a59d284dc resolve https://issues.apache.org/activemq/browse/AMQ-1112 - fix issues with inflight count when messages expire on the consumer/client and on consumer close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791881 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:54:32 +00:00
Robert Davies 8c70e4a780 Added fix for https://issues.apache.org/activemq/browse/AMQ-1282
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791708 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 05:34:00 +00:00
Gary Tully c688b78617 remove broker topic version of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791593 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:58:24 +00:00
Robert Davies 5a0da57be8 Fix for https://issues.apache.org/activemq/browse/AMQ-2318
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791549 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 17:31:48 +00:00
Bosanac Dejan 5807370a24 swithcing to commons logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 12:43:29 +00:00
Gary Tully 7ac1bb8baa enable a few more expiry tests - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790957 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 16:07:04 +00:00
Gary Tully 00bb52bcde validate shared file system master/slave with single shared brokerurl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790929 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:34:46 +00:00
Gary Tully 6a121b33ed test for no consumer and expiry - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790928 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:33:44 +00:00
Gary Tully c6a485f90b first cut of resolution to deterministic expiry https://issues.apache.org/activemq/browse/AMQ-1112 - default period is 30 seconds, destination policy entry allows it to be specified or turned off (0)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790880 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 12:02:07 +00:00
Bosanac Dejan e583839810 excluding the test for https://issues.apache.org/activemq/browse/AMQ-1112 until it's fixed, so we can have successful builds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:54:36 +00:00
Bosanac Dejan 5a8d59d107 fixing test for https://issues.apache.org/activemq/browse/AMQ-2303 - 200 consumers is too much for some linux machines, too many open files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790521 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:38:49 +00:00
Bruce Snyder 7da1e6eb80 Adding a test for AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790199 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:52:21 +00:00
Bosanac Dejan 101c35b8e8 final fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790113 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 10:58:44 +00:00
Gary Tully 4ee34c9609 have default broker config use wildcard address to listen on all interfaces to maintain existing behaviour, localhost now means just localhost or loopback - up shot of https://issues.apache.org/activemq/browse/AMQ-2094
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790100 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 10:28:05 +00:00
Gary Tully b97dbff52a basic test case for https://issues.apache.org/activemq/browse/AMQ-1763 - but does not show the problem atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790087 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 09:28:56 +00:00
Bruce Snyder 0f1907138b Added a better exception and error message for exceeding the maximumConnections - AMQ-1928
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789851 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:52:12 +00:00
Gary Tully 22422ac5de have the test wait for advisories for slower machines, resolve intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789810 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 15:58:08 +00:00
Gary Tully a740183da2 remove check in inflight as it is not totally deterministic so this test randomly fails on some machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789691 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 12:23:01 +00:00
Bosanac Dejan d20da4460d temporary fix for durable consumer test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789626 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 08:56:03 +00:00
Bruce Snyder 7cf47287b8 Slight enhancements in logging for AMQ-2158
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789378 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 16:29:37 +00:00
Gary Tully 753b21047a apply patch for: https://issues.apache.org/activemq/browse/AMQ-2308 with thanks; apply fix for https://issues.apache.org/activemq/browse/AMQ-1993 to the client side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789291 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 11:32:06 +00:00
Bosanac Dejan 2e7d2195cc fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789283 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 10:41:30 +00:00