Commit Graph

343 Commits

Author SHA1 Message Date
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
gtully 864aa6798f [maven-release-plugin] prepare for next development iteration 2013-10-14 23:38:35 +01:00
gtully 87c9bbebac [maven-release-plugin] prepare release activemq-5.9.0 2013-10-14 23:38:22 +01:00
gtully 9815b9dc75 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 20:45:21 +01:00
gtully ff3bad1ae9 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 17:04:58 +01:00
gtully 031611ed22 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 16:55:42 +01:00
gtully afcb5fbe77 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default 2013-10-14 16:46:02 +01:00
gtully ee0933c71e [maven-release-plugin] prepare for next development iteration 2013-10-11 14:51:36 +01:00
gtully b276006911 [maven-release-plugin] prepare release activemq-5.9.0 2013-10-11 14:51:24 +01:00
Dejan Bosanac a33951d2eb MessageGroupMapTest fix 2013-10-11 13:19:55 +02:00
rajdavies 7f17f49d73 Added test for MessageGroup types with options 2013-10-11 11:07:51 +01:00
rajdavies e000471cf4 Added test for MessageGroup type 2013-10-10 20:30:01 +01:00
gtully 4f108cead5 fix up missing license headers - keep mr. rat happy :-) 2013-10-10 11:41:58 +01:00
gtully dc0291b290 https://issues.apache.org/jira/browse/AMQ-4791 - fix and test. removed the delay but left the warn if dispatch ocurrs before interruption processing is complete. Problem was a race between consumer close and sessions copy on write dispatchers list 2013-10-08 21:29:17 +01:00
Hiram Chirino 21edf2b5bb Implementing AMQ-4788 - make sure you can configure the partition broker plugin via activemq.xml 2013-10-07 13:19:42 -04:00
gtully 4f19f31a37 https://issues.apache.org/jira/browse/AMQ-4785 - fix and test 2013-10-04 11:35:23 +01:00
Claus Ibsen 887ac0ba49 AMQ-4769: Connection.close() should not throw exception if already closed according to JMS spec/javadoc. 2013-10-02 15:25:01 +02:00
gtully 78a785eecc https://issues.apache.org/jira/browse/AMQ-4758 - remove unreferenced mysql dep 2013-10-02 12:30:49 +01:00
gtully f609c50fd0 tidy up intermittent failure - BrokerViewSlowStoreStartupTest 2013-10-01 15:21:21 +01:00
gtully 40ea66556e https://issues.apache.org/jira/browse/AMQ-4365 - ensure 500ms retry time is enforce for kahaDbJdbcLeaseQueueMasterSlaveTest 2013-10-01 13:19:07 +01:00
gtully 45e7d3a21b https://issues.apache.org/jira/browse/AMQ-4365 - fix up LeaseDatabaseLockerTest config, needs a lockable instance 2013-10-01 13:02:17 +01:00
Dejan Bosanac 2a5ad365d7 https://issues.apache.org/jira/browse/AMQ-4758 - improve performance of pull consumers 2013-10-01 12:22:19 +02:00
gtully 25e6b9920b https://issues.apache.org/jira/browse/AMQ-4092 - add unit test that reproduced 2013-09-30 23:11:32 +01:00
Hiram Chirino f75520fc8b Implementing AMQ-4744: Support using LevelDB as a nested store in mKahaDB 2013-09-27 09:19:48 -04:00
Timothy Bish 2142045953 https://issues.apache.org/jira/browse/AMQ-4731
Initial fix for this issue.  Uses a separate collection to track the
creation time of the consumers, might want to test just using a
ConcurrentLinkedQueue since that will stay in creation or naturally
although the remove operations could cost more..
2013-09-20 16:50:20 -04:00
gtully efaa351db7 https://issues.apache.org/jira/browse/AMQ-4365 - allow lease locker to be used by kahadb - remove deps on jdbc pa. LockableService now passes a reference to a locker so it can pull the brokerService, extracted some of the jdbc lock common stuff, additional test kahadb with jdbc lease 2013-09-20 15:33:24 +01:00
gtully 0f90695db7 https://issues.apache.org/jira/browse/AMQ-4729 - add lockableSupport to mKahaDb to isolate it from dynamically created filtered kahadb locks, nested locks are disabled when top level lock is in place. default to a sharedfile locker 2013-09-19 21:58:43 +01:00
Timothy Bish e6e7ba7e44 https://issues.apache.org/jira/browse/AMQ-4725
Enable all tests now that things are fixed.
2013-09-18 10:27:26 -04:00
Timothy Bish 1bc55049e6 https://issues.apache.org/jira/browse/AMQ-4725
temporarily apply patch to disable hanging tests
2013-09-17 17:34:07 -04:00
Hiram Chirino fd67eefad6 Improve test for AMQ-4717: verify that propertyExists also works. 2013-09-10 12:53:46 -04:00
Hiram Chirino 9c75fe7b61 Fix for AMQ-4717: populateJMSXUserID is not setting the JMSXUserID property on the JMS message in JMX 2013-09-10 10:45:52 -04:00