Commit Graph

65 Commits

Author SHA1 Message Date
Clebert Suconic 86a81d315d ARTEMIS-465 Changing Byteman race on test 2016-04-14 18:55:01 -04:00
Ville Skyttä e6e1311f8d Add missing @Overrides 2016-04-11 16:51:01 -04:00
Clebert Suconic 7da22ff105 ARTEMIS-465 Testing possible races through large message replication 2016-04-04 23:15:54 -04:00
Ville Skyttä 16ee65309c Add missing @Override annotations 2016-04-04 11:03:48 -05:00
Erich Duda edadc79c5f ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit 2016-03-18 09:35:40 +01: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
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
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
Martyn Taylor 4922a7618a Bump to next version to 1.3.0-SNAPSHOT 2016-01-20 17:25:07 +00: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
Ville Skyttä 66e82be652 Remove dead code 2016-01-11 13:21:26 -05:00
Clebert Suconic a5a993ed9d ARTEMIS-332 - test added / better dealing with critical errors on paging 2016-01-06 19:42:45 -05: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
Martyn Taylor 4cb9cbbf59 extraTests version bump and RELEASING note 2015-12-21 09:48:14 +00:00
Clebert Suconic af1f79bff5 ARTEMIS-302 more changes around XA reliability (resilience on failures) 2015-12-16 10:19:35 -05:00
Ville Skyttä f8a1c5ba8e Remove redundant type arguments 2015-12-07 22:55:05 +02:00
Ville Skyttä 3b5ee6c7ea Remove unnecessary casts 2015-12-07 22:53:42 +02:00
Ville Skyttä 25ae472455 Add missing @Override annotations 2015-12-06 01:27:35 +02:00
Clebert Suconic b1d5076108 ARTEMIS-302 - more work about improving resilience of MDBs and XA 2015-11-16 18:11:44 -05:00
Clebert Suconic f72c226aec removing trace 2015-11-11 11:38:29 -05:00
Clebert Suconic 7bbd17cd37 ARTEMIS-302 - Improving XA Resilience 2015-11-11 09:50:58 -05:00
Clebert Suconic f0f886f53a ARTEMIS-301 - Adding test replicating Consumer::cancel concurrency issue 2015-11-10 14:29:34 -05:00
Clebert Suconic 360338a362 NO-JIRA making sure there wouldn't be duplicates out of transaction timeout 2015-10-17 00:26:44 -04:00
Clebert Suconic 206acdac7d ARTEMIS-238 and ARTEMIS-236 Fixing Legacy protocol support 2015-10-08 20:32:43 -04:00
Clebert Suconic 79a7ee5a3f fixing version and adding missing projects on release profile 2015-09-04 23:41:23 -04:00
jbertram f3be78a096 ARTEMIS-179 Expose disconnect/reconnect problem
Currently a cluster bridge will continue to attempt to reconnect to
a node that sends it a DISCONNECT until its reconnect-attempts is
exhausted. A DISCONNECT message indicates that the node is not coming
back so no reconnect attempt should be made and the bridge should be
stopped, the bindings should be cleaned up, etc.

The change to this test exposes this problem.
2015-08-10 10:20:01 -05:00
Clebert Suconic 5ac2c2444b manual checkstyle changes 2015-08-10 10:08:23 -04:00
Clebert Suconic bac96047f5 automatic checkstyle change
this is just calling Idea format on all the files using the new style
I am separating manual changes from automatic changes in case I have to repeat the manual changes again
2015-08-10 09:26:42 -04:00
Clebert Suconic 517e076620 fixing tests
The refactoring on native left a few name changes and a small twek that I needed to make on buffers
2015-08-03 23:39:35 -04:00
Clebert Suconic 077a416ee0 Improving up time of some tests 2015-06-23 16:35:44 -04:00
Clebert Suconic 51c34c87d2 ARTEMIS-136 - XA Error fix with proper exception error
https://issues.apache.org/jira/browse/ARTEMIS-136

From what I researched from implementers of XA TM if you throw ERR over communication errors the transaction manager will create
an heuristic transaction to be manually dealt with.

Other XA Implementations (such as Oracle JDBC) are return FAIL over communication failures during any XA operation.
2015-06-15 16:34:55 -04:00
Clebert Suconic 309ce4324c Fixing javadoc and removing the -Xdoclint option from the pom.xml
Also, since JDK 1.8 is no longer required I'm downgrading the JDK to 1.7 minimal.
We can review that back to 1.8 when we really need 1.8 features.
2015-06-09 22:13:11 -04:00
jbertram 20326d0d83 ARTEMIS-19 allow disabling of message load-balancing 2015-06-03 16:21:43 -05:00
Thiago Kronig d48b4f4770 ARTEMIS-129 License header should be a normal comment
To reproduce this commit, apply a replace regex rule using:

    search regex: /\*\*\n \* Licensed
    replace: /\*\n \* Licensed

These files had to be changed manually:

    artemis-selector/src/main/javacc/HyphenatedParser.jj
    artemis-selector/src/main/javacc/StrictParser.jj
    artemis-website/src/main/resources/styles/impact/css/pygmentize.css
    artemis-website/src/main/resources/styles/impact/css/site.css
2015-06-03 10:19:45 -04:00
Clebert Suconic a6b8a09b65 Cleanup issues reported by error prone
We had a few reported small issues on the codebase from the recent introduced google error prone.
This should eliminate any issues, and I am making sure these won't happen again
2015-05-28 23:49:59 -04:00
jbertram 328611fdc9 More test-suite refactoring
Lots of work on the test-suite in this commit including:
- Rename ServiceTestBase to ActiveMQTestBase
- Make AddressSettings fluent
- Remove unnecessary tearDown() implementations
- Use ActiveMQTestBase.create*Locator() instead of
  ActiveMQClient.createServerLocator*(..)
- Use fluent ServerLocator methods
- Make sure all ActiveMQServers.newActiveMQServer invocations
  are surrounded with addServer() where appropriate
- Create a few example tests to be references from hacking-guide
- Update hacking-guide with more info on writing tests
- Refactor config creation methods in ActiveMQTestBase
2015-05-28 08:49:02 -05:00
jbertram 99147d0713 Refactor base test classes
This has bothered me for awhile, but writing the hacking guide has
given me an opportunity to refactor some of our test-suite to be
simpler, more consistent, and easier to understand. This is
important if we want users to provide well-written tests. Our
test-suite is an important part of the code-base and it should be
easy to write good tests.

Basically I just consolidated CoreUnitTestCase, UnitTestCase, and
ServiceTestBase into a single class named ServiceTestBase. I also
simplified some of the configuration creation methods to reduce
duplicated code.
2015-05-19 15:27:13 -05:00
jbertram d24f2eb10f Ensure tests use proper directory 2015-05-19 11:31:11 -05:00
Martyn Taylor c30a8fe899 Add back extra test changes accidently removed during rebase 2015-05-19 16:00:34 +01:00
Clebert Suconic 071d8c6ce2 next iteration on extra-tests 2015-05-12 11:14:12 -04:00
Martyn Taylor 77efc950af ACTIVEMQ6-100 Add support for HornetQ clients 2015-05-07 14:59:46 -04:00
jbertram 96a0fe8f53 Use target directory for test data 2015-05-06 15:37:46 -05:00
jbertram 8cea209a8b Set Arjuna properties 2015-05-06 15:37:46 -05:00
jbertram 4735d38d7b Update surefire plugin versions 2015-05-06 15:05:49 -05:00
Clebert Suconic ea3370b38c Moving artemis-tools to artemis-cli and improving the tooling
Artemis tools is now part of the cli
Bootstrap was renamed to CLI
2015-05-03 12:42:19 -04:00