Commit Graph

497 Commits

Author SHA1 Message Date
Clebert Suconic 50eac7c824 ARTEMIS-468 Amendments to how redelivery count is handled on openwire 2016-04-07 13:56:31 -04:00
Clebert Suconic 7da22ff105 ARTEMIS-465 Testing possible races through large message replication 2016-04-04 23:15:54 -04:00
Clebert Suconic 91bdeb3728 ARTEMIS-464 Sending null textMessage shouldn't break the wire 2016-04-04 11:08:43 -05:00
Clebert Suconic 3aedf27386 ARTEMIS-463 More simplifications on the openwire head
https://issues.apache.org/jira/browse/ARTEMIS-463

This will have some extra refactoring on the protocol head, transferring responsibility to the broker classes in a lot of cases
and removing some duplicated code

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic 6ddf486f8f ARTEMIS-463 Refactoring on Openwire
https://issues.apache.org/jira/browse/ARTEMIS-463

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic 2e66673048 ARTEMIS-463 Improvement to the openwire testsuite
https://issues.apache.org/jira/browse/ARTEMIS-463

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
jbertram 69a97c3678 ARTEMIS-462 JMSXGroupID on JMS 2 producer 2016-04-04 12:05:39 -04:00
Ville Skyttä 16ee65309c Add missing @Override annotations 2016-04-04 11:03:48 -05:00
jbertram 32ce8710fc ARTEMIS-445 avoid NPE on null ks password 2016-03-21 18:35:21 -04:00
Erich Duda edadc79c5f ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit 2016-03-18 09:35:40 +01:00
Clebert Suconic ee6a03295f ARTEMIS-437 Improving lock over certain protocols
Avoiding deadlocks between acks and other factors
2016-03-16 08:23:58 -04:00
Clebert Suconic 45d1194009 ARTEMIS-437 tweak on the test. Making sure the test fails over during the message sends 2016-03-11 16:55:10 -05:00
Clebert Suconic 26fe21baa4 ARTEMIS-437 Large Message send should be interrupted during failover 2016-03-11 13:13:32 -05:00
Erich Duda 9b60e558eb ARTEMIS-430 - [Artemis Testsuite] ClosingConnectionTest#testKillConnection fails 2016-03-11 07:25:34 +01:00
Erich Duda b6922c25f9 ARTEMIS-429 - [Artemis Testsuite] TopicControlUsingJMSTest#testGetXXXMessagesCount fails 2016-03-10 08:50:13 -05:00
Erich Duda fa210de323 ARTEMIS-428 - [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails 2016-03-10 12:04:50 +01:00
Ville Skyttä 31404f8a38 Remove redundant null checks 2016-03-07 15:49:50 -05:00
Ville Skyttä 7c275cdb1a Use generics more 2016-02-28 01:06:59 +02:00
Clebert Suconic 45aeeb3ba7 Revert "ARTEMIS-359 - test suite fix - IBM JDK 6/7/8 does not allow byteman agent to modify classes."
This is causing issues with running tests on the IDEs

This reverts commit fe9b95ed64.
2016-02-24 13:42:52 -05:00
Howard Gao ddf8d8f96e ARTEMIS-421 wrong XA_RETRY XAException error code
returned on crash for 1PC
2016-02-24 22:23:57 +08:00
Erich Duda a4c4f811eb ARTEMIS-415 - [Artemis Testsuite] NettyPagingSendTest#testPagingDoesNotDuplicateBatchMessages 2016-02-22 10:32:24 -05:00
Erich Duda 4557f713f5 ARTEMIS-414 - [Artemis Testsuite] TemporaryQueueClusterTest#testClusteredQueue fails 2016-02-19 13:32:54 -05:00
Clebert Suconic 02afdbbb12 Upgrade proton to 0.12 2016-02-18 10:14:26 -06:00
Clebert Suconic 9ebc6786b6 ARTEMIS-401 Refactoring Acceptors and ProtocolManager to support parameters
https://issues.apache.org/jira/browse/ARTEMIS-401
2016-02-18 10:14:26 -06:00
Erich Duda 81d57361e8 ARTEMIS-403 - [Artemis Testsuite] AlmostLargeAsynchronousFailoverTest#testTransactional fails 2016-02-18 14:45:24 +01:00
Erich Duda 53987a99da ARTEMIS-396 - [Artemis Testsuite] ReceiveTest#testReceiveImmediate fails 2016-02-16 11:54:59 -05:00
Erich Duda ce906c8420 ARTEMIS-287 - [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines 2016-02-10 16:45:30 +01:00
Clebert Suconic ece5d81e3d ARTEMIS-388 fixing testsuite
(the socket.bind not being closed was preventing other tests to run successfully)
2016-02-09 18:59:47 -05:00
Clebert Suconic 60b828083d Fixing testsuite's dependency on Derby 2016-02-09 15:00:39 -05:00
jbertram dffe93152b ARTEMIS-395 auto-delete only if setting is true 2016-02-09 14:24:51 -05:00
jbertram 94dc2976ef ARTEMIS-388 listen for activation failures 2016-02-09 14:24:07 -05:00
Erich Duda 82eca32ba4 ARTEMIS-364 - [Artemis Testsuite] PagingTest#testPagingDifferentSizes fails 2016-02-08 16:59:13 -05:00
Erich Duda efffe9c263 ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails 2016-02-08 10:40:50 -06:00
Martyn Taylor 32a9d60a3d Allow users to configure jdbc driver class name
This patch allows users to configure the Driver class that the JDBC
store and journal uses and removes Derby as a default.
2016-02-08 11:23:38 -05:00
Clebert Suconic 26945a4716 ARTEMIS-385 On a possible race the Topology final notification may get lost when using many connection factories
https://issues.apache.org/jira/browse/ARTEMIS-385

This fix will make sure we only wait for the topologies that are arriving from the current connection over the createFactory method
2016-02-04 09:35:08 -05:00
Erich Duda 5f1daf485c ARTEMIS-381 - [Artemis Testsuite] LargeMessageOverBridgeTest.testSendBytesAsLargeOnBridgeOnly fails 2016-02-02 15:13:48 +01:00
jbertram 1eb631e2b8 ARTEMIS-374 support schedule messages on LVQ 2016-02-01 11:58:56 -06:00
Erich Duda 3d6531e570 ARTEMIS-379 - [Artemis Testsuite] BackupSyncLargeMessageTest.testReserveFileIdValuesOnBackup fails 2016-02-01 10:08:15 -05:00
Erich Duda 0db2d3f097 ARTEMIS-377 - [Artemis Testsuite] NettySecurityClientTest#testProducerConsumerClientWithSecurityManager fails 2016-02-01 10:06:12 -05:00
Andy Taylor ecfa1fecc2 ARTEMIS-378 - expose some Network info via the management interfaces
https://issues.apache.org/jira/browse/ARTEMIS-378
2016-02-01 12:11:28 +00:00
Erich Duda 062a675a53 ARTEMIS-369 - [Artemis Testsuite] BridgeFailoverTest#testFailoverOnBridgeNoRetryOnSameNode fails 2016-01-29 09:30:45 -05:00
Erich Duda 3663f4c01e ARTEMIS-368 - [Artemis Testsuite] TemporaryQueueTest#testBlockingWithTemporaryQueue fails 2016-01-29 09:57:49 +01:00
Clebert Suconic a5aa44670d Improvements on JDBC Test 2016-01-27 21:56:59 -05:00
Clebert Suconic e62a820414 Fixing ServerMessage's copy and MQTT delivery 2016-01-27 17:12:56 -05:00
Clebert Suconic 4a20187ff2 Fixing name on JDBC tests 2016-01-27 14:25:57 -05:00
jbertram ff95b216ef ARTEMIS-357 test for client buffer mod 2016-01-27 13:21:17 -05:00
Lachezar Dobrev 0827d23ae3 Remove duplicate references to artemis-cli in pom.xml in tests.
Fixed pom.xml in integration-tests and unit-tests
Fixes warnings from Maven 3
2016-01-27 12:18:11 -05:00
Martyn Taylor 5383a0c409 Handful of JDBC Journal Fixes
This patch fixes a number of bugs with the JDBC Journal implementation.
Mainly around how it was handling transactions.  The XA transactions
tests are now enabled to test both the File and Database store.
2016-01-27 12:17:55 -05:00
Erich Duda 79f39693f3 ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails 2016-01-27 12:17:29 -05:00
Erich Duda 2a756942ba ARTEMIS-364 - [Artemis Testsuite] PagingTest#testPagingDifferentSizes fails 2016-01-27 12:17:12 -05:00
Erich Duda 4ff20777d5 ARTEMIS-363 - [Artemis Testsuite] PagingTest#testDropMessages fails 2016-01-27 13:55:10 +01:00
Ville Skyttä 77d2e85838 Change StompV12Test to use waitDisconnect more 2016-01-26 16:34:04 -05:00
Clebert Suconic af150b5bea small improvement on stomp test 2016-01-25 21:33:28 -05:00
Ville Skyttä 2c4312d4f2 Disconnect on STOMP 1.2 errors
https://stomp.github.io/stomp-specification-1.2.html#ERROR
2016-01-25 21:33:28 -05:00
Ville Skyttä 4e5b5b393a Access static methods and fields directly 2016-01-25 12:12:54 -05:00
Miroslav Novak fe9b95ed64 ARTEMIS-359 - test suite fix - IBM JDK 6/7/8 does not allow byteman agent to modify classes. 2016-01-25 11:21:29 -05:00
Ville Skyttä 09a3f224cd ARTEMIS-358 test case for topic disappearing on disconnect without unsubscribe 2016-01-25 11:19:54 -05:00
Martyn Taylor 4922a7618a Bump to next version to 1.3.0-SNAPSHOT 2016-01-20 17:25:07 +00:00
Andy Taylor c1de710eb3 ARTEMIS-346 - Add Management send text message functionality similar to ActiveMQ
https://issues.apache.org/jira/browse/ARTEMIS-346
2016-01-20 10:35:36 -05:00
Clebert Suconic 3f23c9916e ARTEMIS-347 - supporting URIs on the cluster connection 2016-01-19 17:35:12 -05:00
jbertram d94c044e90 ARTEMIS-349 LDAP plugin listener
This feature required a bit of refactoring to the plugin interface itself as
well as a restriction on the configuration so that either only one plugin could
be specified or an ulimited number of security-setting matches. This was done
to prevent messy situations where a plugin could update settings from the XML
or even another plugin if there were overlapping matches.
2016-01-19 09:45:52 -05:00
Clebert Suconic dddd0a1efe https://issues.apache.org/jira/browse/ARTEMIS-345 fixing URI for inVM throwing a log.warn 2016-01-13 17:48:23 -05:00
Clebert Suconic 23aa933ad7 fixing PagingTest 2016-01-13 17:10:11 -05:00
Clebert Suconic 74245a58bd fixing PagingTest 2016-01-13 15:03:55 -05:00
Erich Duda 18e97d55c9 ARTEMIS-343 - [Artemis Testsuite] DivertTest.testSingleNonExclusiveDivert3 fails 2016-01-13 10:15:01 -05:00
Erich Duda 7c22ebee12 ARTEMIS-342 - [Artemis Testsuite] NettySecurityClientTest.testProducerConsumerClientWithSecurityManager fails 2016-01-13 10:14:34 -05:00
Erich Duda 0c9c3defd6 ARTEMIS-341 - [Artemis Testsuite] ConsumerTest.testAcksWithSmallSendWindow[isNetty=false||true] fails 2016-01-13 10:14:11 -05:00
Martyn Taylor 64f74acdbc ARTEMIS-27 / ARTEMIS-340 Add JDBC Storage Manager 2016-01-13 09:38:40 -05:00
Martyn Taylor 9b351d8236 ARTEMIS-27 / ARTEMIS-338 Refactor Journal Encodings into new package 2016-01-13 09:38:08 -05:00
Clebert Suconic 2d3061d9b6 Improvements on Thread check 2016-01-12 17:22:56 -05:00
Erich Duda 2c0f1df827 ARTEMIS-337 - [Artemis Testsuite] LiveToLiveFailoverTest.testNonTransactedWithZeroConsumerWindowSize fails 2016-01-12 16:24:34 -05:00
Andy Taylor ea3c3e0aef ARTEMIS-334 - Add Management browse functionality similar to ActiveMQ
https://issues.apache.org/jira/browse/ARTEMIS-334
2016-01-12 14:26:57 +00:00
Clebert Suconic 5df57234d1 fixing thread leakage from test 2016-01-12 08:16:21 -05:00
Clebert Suconic ee962dc137 fixing missing tearDown call 2016-01-11 22:51:31 -05:00
Clebert Suconic c945879dec fixing hanging test 2016-01-11 21:00:48 -05:00
Clebert Suconic e56ca95fdc Dealing with expected IBM JDK thread and refactoring the Thread check as a Rule 2016-01-11 20:02:46 -05:00
Clebert Suconic 4e5ec13558 fixing checkstyle 2016-01-11 20:02:45 -05:00
Clebert Suconic d9ac06a907 remove now invalid tests
Since we are removing the finalize cleanup these tests are now invalid
2016-01-11 19:43:31 -05:00
Martyn Taylor 945963ed07 Remove DelegatingSession class
DelegatingSession class wraps ClientSessionImpl and attempts to close
session should it not be closed by the user.  It does this by
implementing finalize.  However, the order in which finalize runs can be
difficult to predict as compilers, and JIT compilers are able to
optimize early.

The current DelegatingSession was causing problems of finalize getting
called early (before consumers, producers were finished with the
session).  This was causing tests to fail on the IBM JDK (which
optimizes early).  The same happens on OpenJDK if the GC is forced.
2016-01-11 19:43:10 -05:00
Ville Skyttä f85e5e7922 Deprecation fixes 2016-01-11 13:22:18 -05:00
Ville Skyttä 66e82be652 Remove dead code 2016-01-11 13:21:26 -05:00
Ville Skyttä 389762cb3a Add missing @Overrides 2016-01-11 13:20:57 -05:00
Clebert Suconic 7820fd6d60 ARTEMIS-332 avoid shutting down the server after interrupted threads on paging 2016-01-07 16:08:38 -05:00
Clebert Suconic 6b42f26283 fixing thread leakage from jgroups test 2016-01-07 15:07:59 -05:00
Clebert Suconic a5a993ed9d ARTEMIS-332 - test added / better dealing with critical errors on paging 2016-01-06 19:42:45 -05:00
jbertram 6e702724b9 ARTEMIS-333 Redistribution + groups tests failing 2016-01-06 16:15:19 -06:00
jbertram e899c850e7 ARTEMIS-218 auto-create in cluster 2016-01-05 14:02:05 -06:00
jbertram 978f8eeda8 ARTEMIS-331 support 0-length large msg 2016-01-05 10:44:54 -05:00
jbertram 454e5b66ff ARTEMIS-177 create/destroy subscription race 2016-01-05 10:44:13 -05:00
Clebert Suconic 96849a42b7 ARTEMIS-332 - Duplicate delivery over Bridges under OME scenarios, paging and other failures
https://issues.apache.org/jira/browse/ARTEMIS-332
2016-01-04 20:49:28 -05:00
Martyn Taylor 2c430e597b [maven-release-plugin] prepare for next development iteration 2016-01-04 11:50:36 +00:00
Martyn Taylor f182c806b6 [maven-release-plugin] prepare release 1.2.0 2016-01-04 11:49:58 +00:00
Martyn Taylor 5f32e6575c [maven-release-plugin] prepare for next development iteration 2016-01-04 09:24:34 +00:00
Martyn Taylor 150c5d87aa [maven-release-plugin] prepare release 1.2.0 2016-01-04 09:19:35 +00:00
Ville Skyttä d48e344a8f Add missing @Overrides 2015-12-21 22:06:03 -05:00
Ville Skyttä a0dc9861a0 Access static members directly 2015-12-21 22:01:21 -05:00
Ville Skyttä 2cb74839f9 Remove redundant type arguments 2015-12-21 21:57:16 -05:00
Ville Skyttä 93a53e1cda Fix UUIDGenerator.getHardwareAddress on recent Java versions
Enable related tests on all Java versions and drop < 1.7 support code.
2015-12-21 21:47:15 -05:00
Martyn Taylor 4cb9cbbf59 extraTests version bump and RELEASING note 2015-12-21 09:48:14 +00:00
Martyn Taylor 90c9469701 [maven-release-plugin] prepare for next development iteration 2015-12-17 17:03:40 +00:00