Commit Graph

373 Commits

Author SHA1 Message Date
gtully 75eb814ca7 https://issues.apache.org/jira/browse/AMQ-5068 - don't rewrite durable subs as the message instance is shared 2014-03-26 11:50:13 +00:00
gtully 266d23ef79 revisit https://issues.apache.org/jira/browse/AMQ-3519 with more durable solution https://issues.apache.org/jira/browse/AMQ-5068 - JMSRedelivered header now persisted before dispatch so that it is a reliable indication of a possible duplicate delivery. The option is enabled via destination policy persistJMSRedelivered 2014-03-26 11:16:42 +00:00
gtully f594cdab10 tidy up test completion, allowing consumers to exit gracefully from blocking receive 2014-03-21 13:14:40 +00:00
gtully 9bf9e1c052 https://issues.apache.org/jira/browse/AMQ-5114 - force local removeInfo after connection controll consumer remove command so consumer is always removed from the broker, independent of the consumer state 2014-03-21 12:22:38 +00:00
gtully af9134a4fa sanity check test of local host/port syntax with failover 2014-03-20 14:32:31 +00:00
gtully cb6941ee0b https://issues.apache.org/jira/browse/AMQ-4886 - think the sync on shutdown issue is resolved and the test will no longer hang 2014-03-20 14:14:31 +00:00
Kevin Earls cbb46ea7d3 Fix for AMQ-5113. Fixed race condition in onMessage for testSimulatenousCron which caused intermittent failures 2014-03-20 13:33:03 +01:00
gtully b136df177f https://issues.apache.org/jira/browse/AMQ-5089 - fix and test, respect client ack for topics and only decrement counters when ack is received 2014-03-19 15:33:44 +00:00
gtully 2efb6df619 speed up this test and improve logging in the event of failure 2014-03-19 15:32:10 +00:00
gtully 89446c7af0 fix intermittent failure - exceptions that result from broker stop need to be ignored as this test forces a restart 2014-03-19 15:30:34 +00:00
gtully 47d72dd32a resolve intermittent failure in this test - do a valid wait check once 2014-03-18 15:45:26 +00:00
gtully caae68a1ba compaction or gc can effect this test - make it more tolerant and dumpthreads on error so we can validate 2014-03-14 13:42:59 +00:00
gtully 128921e687 some more info to this test to help diagnose intermittent ci failure, works fine locally 2014-03-12 14:01:08 +00:00
gtully 6aaf859d22 https://issues.apache.org/jira/browse/AMQ-4656 - fix regression for FilePendingDurableSubscriberMessageStoragePolicy 2014-03-11 15:18:46 +00:00
gtully a3a41dae37 https://issues.apache.org/jira/browse/AMQ-5087 - fix up test use of initial delay 2014-03-11 12:37:31 +00:00
Hadrian Zbarcea 570dbb4372 [minor] Use MemoryPersistenceAdapter for testing when choice of persistence adapter is indifferent 2014-03-10 11:00:27 -04:00
gtully 33b88d34a9 https://issues.apache.org/jira/browse/AMQ-5087 fix and test 2014-03-06 22:40:01 +00:00
Hadrian Zbarcea c34f8426ab Exclude failing activemq-unit-tests to re-enable CI 2014-03-05 11:21:51 -05:00
gtully cfe099d1cc rework https://issues.apache.org/jira/browse/AMQ-3305 in the context of https://issues.apache.org/jira/browse/AMQ-4952 dlq processing of duplicates, also possible missed dispatch with interleaved xa completion and new messages - recovered transactions are now individually tracked by the store and replayed in the next batch, which negates the need to flush the cursor and avoids duplicates 2014-03-05 14:51:05 +00:00
Hadrian Zbarcea a7ff5975ee move derby test db to target/ so that mvn clean doesn't leave it behind 2014-03-04 18:17:28 -05:00
gtully 9d76668f7b use sensible param name for paramaterized tests 2014-03-03 13:57:24 +00:00
gtully 69c0d399fb make perpared xa transactions visible in kahadb persistenceadapter view mbean 2014-03-03 13:55:27 +00:00
Hiram Chirino e7e317dc7e Applying patch AMQ-5074: MQTT paths with empty levels are not handled correctly.
Thanks Dhiraj!
2014-02-24 09:05:23 -05:00
Dejan Bosanac c6fe94ec03 https://issues.apache.org/jira/browse/AMQ-5070 - broker blocked on shutdown 2014-02-21 11:22:11 +01:00
Hiram Chirino 93ca04468b Implements AMQ-5054: Display the number of active transactions and age of oldest transaction on a Connection's JMX info 2014-02-14 16:22:50 -05:00
Kevin Earls ef82a4b8b4 Added short sleep to tearDown, see https://issues.apache.org/jira/browse/AMQ-4854 2014-02-14 17:36:47 +01:00
Kevin Earls 4350ded2c5 Fix for intermittent failures, see https://issues.apache.org/jira/browse/AMQ-5053 2014-02-14 16:08:51 +01:00
Timothy Bish fbd72d6d70 Place data dir in target 2014-02-10 18:25:32 -05:00
Timothy Bish 314b6e1fd7 Use better test KahaDB location in configuration. 2014-02-10 18:23:02 -05:00
Timothy Bish 4c38b03d14 https://issues.apache.org/jira/browse/AMQ-5035
Fix and test for variations in configuration settings that result in a
non-region broker as the AdvisoryBroker's next instance.
2014-02-10 18:14:41 -05:00
Kevin Earls 3df943ce0e Removed some old JUnit3 references 2014-02-10 14:43:17 +01:00
Kevin Earls afded924ff Fix for AMQ-4899 2014-02-07 09:41:50 +01:00
gtully 221a751d0a https://issues.apache.org/jira/browse/AMQ-5031 - add connection factory rmIdFromConnectionId attribute to allow resource manager identity to be mapped to the connection id, thus overiding the default broker identity association. usefull is a TM does not end a start with the join flags. We may want to implement join but it is not trivial to determin the existing associated state and clear it 2014-02-06 15:18:30 +00:00
Kevin Earls 4cc526112e Added timeouts because of CI hangs 2014-02-06 10:00:24 +01:00
Kevin Earls 5a80cee960 Converted to JUnit4 because of CI hangs, see AMQ-5021 2014-02-04 11:10:52 +01:00
Timothy Bish da3775302c https://issues.apache.org/jira/browse/AMQ-5011 2014-01-31 17:25:26 -05:00
Kevin Earls e0e14e087b Removed some code I had commented out but forgot to delete 2014-01-30 14:37:25 +01:00
Kevin Earls fa6aaf9360 Bumped up test timeouts because of CI failures, also cleaned up imports 2014-01-30 14:33:31 +01:00
Kevin Earls c027552035 Upgraded surefire plugin to 2.16. AMQ-5006 2014-01-30 14:22:44 +01:00
Timothy Bish cce75e0926 https://issues.apache.org/jira/browse/AMQ-5001
Fix all failing tests.
2014-01-29 11:21:54 -05:00
Timothy Bish 4273b1301d https://issues.apache.org/jira/browse/AMQ-5001
testSlowConsumerIsAbortedViaJmx failed due to issue in the test setup.
2014-01-29 10:29:12 -05:00
Kevin Earls bec711c7db Converted to JUnit4 and added @Ignore tags for failing tests. See AMQ-4286 and AMQ-5001 2014-01-29 14:57:52 +01:00
Timothy Bish fde22a8496 https://issues.apache.org/jira/browse/AMQ-4754
Add connection counts to Broker mbean
2014-01-28 14:07:39 -05:00
gtully 95d20e5b47 https://issues.apache.org/jira/browse/AMQ-4991 - fix npe and reinstate test 2014-01-24 13:31:44 +00:00
Kevin Earls a6edc416d6 Added sleep because of intermittent CI failures 2014-01-24 11:30:20 +01:00
Kevin Earls dea0588471 Added @Ignore to testSendReceive because of NPE. See AMQ-4991 2014-01-24 10:55:51 +01:00
Timothy Bish dd0c9c4144 https://issues.apache.org/jira/browse/AMQ-4988 2014-01-22 10:09:38 -05:00
Timothy Bish 90104943b2 https://issues.apache.org/jira/browse/AMQ-4839
Deprecated the streams functionality.  Remove in a later release.
2014-01-21 15:00:16 -05:00
Kevin Earls d29bab50e5 Updated to JUnit4, which seems to have fixed intermittent failures. See AMQ-4980 2014-01-21 10:58:00 +01:00
Kevin Earls 48d25adfc8 Removed. See AMQ-4972 2014-01-20 11:42:33 +01:00
Timothy Bish 9b00a0947e Add missing license header 2014-01-17 14:34:11 -05:00
Kevin Earls 0918430dc2 Removed test, it has been commented out and not run for over a year. See AMQ-4974 2014-01-17 10:19:49 +01:00
Kevin Earls e56c062f27 Added overridden no-op version of testSendReceive, see AMQ-4975 2014-01-16 16:11:24 +01:00
Kevin Earls 5e42bd64bc Added no-op version of testVirtualTopicFailover, which is covered by AMQ-4842 2014-01-16 15:45:19 +01:00
Kevin Earls 612a816d98 Changed commented out test to use @Ignore. See AMQ-4974 2014-01-16 15:40:55 +01:00
Kevin Earls 6549342061 Ignoring failing test cases, see AMQ-4973 2014-01-16 15:22:59 +01:00
gtully 08f21ed71d https://issues.apache.org/jira/browse/AMQ-4952 - remove scala ref from test 2014-01-14 22:17:19 +00:00
gtully cc47ab6d00 https://issues.apache.org/jira/browse/AMQ-4952 deal with jdbc store, cursor audit=false case, also relevant when cursor window is exceeded. Treating duplicate into pagedInMessages as an error, silently ignoring leads to trapped messages or deferred dispatch after a restart, revert change from https://issues.apache.org/jira/browse/AMQ-1957 2014-01-09 12:16:37 +00:00
Kevin Earls be8990e06d Removed @Ignore and updated timeout on testOrderOnActivateDeactivate, fixed by AMQ-4952 2014-01-08 17:40:41 +01:00
gtully f92d45bec1 https://issues.apache.org/jira/browse/AMQ-4952 - deal with duplicates by redirecting to dlq when they are detected by the cursors such that they don't linger for redispatch after a restart. Networks are the main culprit for such duplicates b/c the producer audit traps regular failover resends 2014-01-07 16:52:39 +00:00
Torsten Mielke ed66e3b341 activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4950Test.java was missing Apache license agreement 2014-01-06 14:22:27 +01:00
Torsten Mielke f69cbd8ec6 AMQ-4950: java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect 2014-01-06 13:43:26 +01:00
Kevin Earls 6509b1f811 Added timeout because of tests failing intermittently 2014-01-03 15:16:11 +01:00
Kevin Earls 96bdda716a Added timeout in teardown because of intermittent test failures 2014-01-03 10:37:48 +01:00
Timothy Bish 7db0fe6a38 https://issues.apache.org/jira/browse/AMQ-4819 2013-12-20 17:29:31 -05:00
Kevin Earls 57f5d49ae9 For AMQ-4874, broke into multiple parts, and converted to use JUnit4 Parameterized instead of CombinationTestSupport 2013-12-19 14:37:12 +01:00
gtully a64976a377 https://issues.apache.org/jira/browse/AMQ-4930 - fix reference count and limit expriy/browse to memory + 10% 2013-12-18 12:21:02 +00:00
Kevin Earls 257710ba1a Fix for AMQ-4889, potential leak of ProxyConnectors 2013-12-16 18:13:27 +01:00
Dejan Bosanac dcedd9fe96 https://issues.apache.org/jira/browse/AMQ-4934 - jdbc persistence adapter traped messages 2013-12-12 14:55:19 +01:00
rajdavies 2bbfbcfb29 Fix for https://issues.apache.org/jira/browse/AMQ-4924 2013-12-11 11:13:45 +00:00
rajdavies 6683eb652f Fix for https://issues.apache.org/jira/browse/AMQ-4927 2013-12-10 13:36:09 +00:00
rajdavies 71e4585689 Fix for https://issues.apache.org/jira/browse/AMQ-4825 2013-12-10 09:10:33 +00:00
Timothy Bish d0f1dd6668 https://issues.apache.org/jira/browse/AMQ-4887
Update test case to show other broken scenarios.
2013-12-05 15:52:27 -05:00
Kevin Earls 8b06c44cc0 Added test to reproduce AMQ-4887 2013-12-05 10:45:38 +01:00
rajdavies 374cab9cd5 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-05 08:55:56 +00:00
Rob Davies 07ec890372 Fix for https://issues.apache.org/jira/browse/AMQ-4916 2013-12-03 17:15:56 +00:00
Hiram Chirino 61e13fa6ce Fixing regression caused by changes to SuppressRelyException in commit b0e91d47f5. 2013-12-02 12:29:21 -05:00
gtully b9f0783af5 ignore test pending investigation on new SuppressReply from http://git-wip-us.apache.org/repos/asf/activemq/commit/b0e91d47 2013-11-29 12:40:00 +00:00
gtully 06f24e2e0b https://issues.apache.org/jira/browse/AMQ-4907 - sanity check on the index when checkForCorruptJournalFiles - test and check that validates the orderindex makes sense 2013-11-28 21:14:24 +00:00
rajdavies 11781d3cf2 Added Fix and tests for https://issues.apache.org/jira/browse/AMQ-4906 2013-11-28 12:56:11 +00:00
gtully 7d98b32050 https://issues.apache.org/jira/browse/AMQ-4904 - ensure transports are not restarted without a store lock 2013-11-27 12:49:18 +00:00
Timothy Bish a6e306437e fix for: https://issues.apache.org/jira/browse/AMQ-4893 2013-11-25 14:48:38 -05:00
gtully 511b60c6f6 https://issues.apache.org/jira/browse/AMQ-4485 - resolve - non transacitonal work interleaved with transactional work needs to check for and integrate with cursor update ordering. Key difference in latest test is 3/4 of messages getting produced via network connectors, hense not in transactions 2013-11-18 13:05:57 +00:00
Kevin Earls a46db89b2a Added timeouts after seeing this hang a CI build. 2013-11-15 14:33:26 +01:00
Kevin Earls c60af64165 See AMQ-4886. Updated tearDown so it can't hang, reduced timeouts, updated to JUnit4 2013-11-14 15:55:04 +01:00
rajdavies 291ec5ea17 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-14 09:47:40 +00:00
rajdavies 2a6aab40b4 Added testcase for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-13 18:50:56 +00:00
Kevin Earls 0ed2ddb3df Added timeout for AMQ-4877 2013-11-12 16:17:10 +01:00
Kevin Earls 6540f04a40 Changed timeout, see https://issues.apache.org/jira/browse/AMQ-4876 2013-11-12 16:07:30 +01:00
Kevin Earls 4f1754bdc2 Commented out testOrderOnActivateDeactivate, see AMQ-4874 2013-11-12 13:27:57 +01:00
Timothy Bish 6552287221 https://issues.apache.org/jira/browse/AMQ-4853
adds a little test and preserves some performance tests if needed later.
2013-11-11 11:49:03 -05:00
Timothy Bish 38ab4b10a4 https://issues.apache.org/jira/browse/AMQ-4855
Deprecate the misspelled subcription named getters and use the correctly
spelled versions where the older ones are in use.
2013-11-11 11:40:07 -05:00
Kevin Earls 982b728f24 Increased timeout to fix AMQ-4854 2013-11-07 13:48:21 +01:00
gtully 50ec158e25 https://issues.apache.org/jira/browse/AMQ-4852 - ensure clientId view connector mbean visible for duplex network connectors 2013-11-07 11:35:39 +00:00
Claus Ibsen 8a8fcb6ef4 AMQ-4841: Fixed JDBC leased locker to allow being configured in any order in the XML file, being able to use the defined statemnts. Otherwise you would have had to define the locker last in the XML file. Thanks to Pat Fox for the test case. 2013-11-01 12:46:36 +01:00
Claus Ibsen 7dfb0a2a3c AMQ-4433: Validate socket.xxx transport connector options, to detect invalud/unused options and fail. Thanks to Christoffer Sawicki for the patch. 2013-10-31 12:13:40 +01:00
Christian Posta c2eb4863a8 Fix for https://issues.apache.org/jira/browse/AMQ-4823 NetworkConnector not registered in JMX when created from Broker View + unit tests 2013-10-24 10:36:00 -07:00
Timothy Bish ec97d0aad0 fix for: https://issues.apache.org/jira/browse/AMQ-4822 2013-10-24 10:41:05 -04:00
gtully 85bc9ce9d0 modify fix for https://issues.apache.org/jira/browse/AMQ-4181 - apply maxBrowsePageSize, when > 0 it will limit a browser dispatch; related to https://issues.apache.org/jira/browse/AMQ-4487 https://issues.apache.org/jira/browse/AMQ-4372 https://issues.apache.org/jira/browse/AMQ-4595 2013-10-22 15:23:33 +01:00
gtully 092bc61708 avoid jvm fork console popup on osx 2013-10-22 15:23:32 +01:00