90 Commits

Author SHA1 Message Date
Jiri Danek
aa730fdaa7 ARTEMIS-1532 Enable tests which are unintentionally skipped by Surefire
These tests used to have a wrong name, so they weren't executed by
Surefire during a `mvn test` run.

After enablement, the following tests are now failing:

* org.apache.activemq.artemis.tests.integration.cluster.ha.HAAutomaticBackupSharedStoreTest
* org.apache.activemq.artemis.tests.integration.ra.OutgoingConnectionNoJTATest
* org.apache.activemq.artemis.tests.unit.core.server.group.impl.SystemPropertyOverrideTest.testSystemPropertyOverride
2017-12-20 16:06:22 -05:00
Clebert Suconic
f37af02074 ARTEMIS-1276 fixing license headers 2017-07-24 11:10:55 -04:00
Jiri Danek
1b3d9cfed0 ARTEMIS-1276 fix JmsSendReceiveWithMessageExpirationTest 2017-07-24 10:50:52 -04:00
Jiri Danek
d732262f8c ARTEMIS-1276 delete MessageEvictionTest (feature not implemented)
The test is broken. It can be fixed by doing

```java
FakeTransportConnector(URI uri) {
   setServer(new TransportServer {
     @Override
     public URI getConnectURI() {
        return uri;
     }
but then the test would fail because message
 eviction is not supported by Artemis.
2017-07-24 09:50:40 -04:00
Jiri Danek
7e9c3fdfb7 ARTEMIS-1276 avoid System.exit in tests as Surefire cannot deal with that
This change results in many more tests being run. Previously, 662 tests
were executed. Now, 1166 tests is executed. The running time has increased
from ~20 minutes to ~50 minutes.
2017-07-24 09:50:40 -04:00
Clebert Suconic
9c472013e2 NO-JIRA: Removing Flow Control tests
These tests are duplicated on the regular testsuite and they were fixed there
2017-04-01 11:17:08 -04:00
Clebert Suconic
07f7916ed3 NO-JIRA: Cleanup tests 2017-03-24 18:32:38 -04:00
Jiri Danek
a7a0535afa NO-JIRA Fixing typos in log messages, test names and comments
Related to ARTEMIS-387 (fowardingAddress)
2017-02-20 20:54:45 -05:00
Justin Bertram
ff3e75d148 NO-JIRA move RoutingType to different package 2017-02-13 09:50:41 -06:00
Justin Bertram
0d1fa83181 ARTEMIS-922 Addressing-related API clean-up 2017-01-16 14:40:42 -05:00
Howard Gao
8348cdd2b6 ARTEMIS-893 Fix FailoverTransactionTest.testWaitForMissingRedeliveries 2016-12-15 17:51:13 -05:00
Howard Gao
16f19daa97 ARTEMIS-887 Fix some OpenWire test failures 2016-12-13 15:57:31 -05:00
Andy Taylor
0189f156ec ARTEMIS-876 Remove JMS JMX Objects and add new Address JMX objects 2016-12-09 18:43:15 +00:00
jbertram
84e8a87325 ARTEMIS-876 Remove all reliances on JMS prefixing 2016-12-09 18:43:15 +00:00
Clebert Suconic
ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
Ville Skyttä
e98da5f288 Make bunch of private fields final 2016-09-23 09:06:08 -04:00
Clebert Suconic
665281a558 Updating ActiveMQ into OpenWire tests
This will fix the testsuite for activemq5-unit-tests
2016-09-13 17:17:12 -04:00
Clebert Suconic
e81d101610 ARTEMIS-727 Fixing compilation on OpenWire tests 2016-09-12 19:10:28 -04:00
Ville Skyttä
e1728f0797 Spelling fixes 2016-08-25 14:22:32 -04:00
Ville Skyttä
30c617da3c Unnecessary @SuppressWarnings fixes 2016-08-25 14:22:32 -04:00
Ville Skyttä
330c65ba35 Remove unnecessary @SuppressWarnings("unchecked") 2016-08-09 11:24:22 +01:00
Ville Skyttä
29deb12ddb ManagementContext.queryNames returns ObjectNames 2016-07-29 15:38:08 -04:00
Ville Skyttä
eb5eca93b0 Fix check for KahaDB adapter in DurableSubsOfflineSelectorIndexUseTest 2016-07-29 15:35:25 -04:00
Ville Skyttä
61222233ca Fix SslTransportFactoryTest bind want/need auth test combinations 2016-07-28 23:30:02 +03:00
Ville Skyttä
f57b937cdd Remove unused imports 2016-07-28 12:28:19 -04:00
Ville Skyttä
559ae07f2f Use System.arraycopy for copying array 2016-07-28 12:28:18 -04:00
Ville Skyttä
68c7c2575d Remove dead code 2016-07-28 12:28:18 -04:00
Ville Skyttä
b2a9be1373 Spelling fixes 2016-07-28 18:14:35 +03:00
Ville Skyttä
429e1e84d4 Remove unnecessary casts 2016-07-28 18:12:59 +03:00
Ville Skyttä
b0815c6a4e Remove unnecessary semicolon 2016-07-28 18:11:28 +03:00
Ville Skyttä
aed49b3894 Spelling fixes 2016-07-26 14:24:45 +03:00
Jiri Danek
e6085dd98f ARTEMIS-628 - Fix mismatched signatures in activemq5-unit-tests subproject
Previous commit added one more parameter to new Role() but the tests were not updated
2016-07-15 09:32:37 -05:00
Ville Skyttä
358aff4892 Remove unused import 2016-07-05 14:18:01 -04:00
Howard Gao
109ce6ded9 ARTEMIS-571 Fix issues in openwire testsuite
* Redelivery count fix
* Regression in BrokerTest
2016-06-17 14:58:54 -04:00
Ville Skyttä
81956e1716 Use StandardCharsets more 2016-05-16 12:09:46 -04:00
Ville Skyttä
09a0b98d24 Remove redundant type arguments 2016-05-13 21:56:04 +03:00
Howard Gao
ada6600ee3 ARTEMIS-505 Fix OptimizedAckTest and testCloseConsumer
OptimizedAckTest: Using core api to replace old activemq
broker API to checking message count.
JmsQueueTransactionTest#testCloseConsumer: a bug in
delivery when prefetchSize is 0.
(InitalReconnectDelayTest)close connection after test.
2016-04-27 10:06:14 -04:00
Howard Gao
3012447404 ARTEMIS-488 Fix OpenWire Test (Temp Queue removal and others)
Temp Queue not deleted when connection is closed.
Enable Stomp in openwire test because some test uses it.
Remove unused code in opwnwire
Wrong XA error code returned when xid is missing
(ActiveMQXAConnectionFactory.testRollbackXaErrorCode)
regression in ActiveMQSslConnectionFactoryTest (SSL related)
2016-04-20 12:33:01 -04:00
Howard Gao
ee20248404 ARTEMIS-478 Improve Openwire SslBrokerServiceTest
Some of the SSL tests in openwire requires to pass in more options like
enabledCipherSuites. It needs to refactor the test util to allow passing
of those options to broker.
And some of the cipher suite is obsolete in recent jre. Meaning they
are disabled by default for security reasons
(e.g. SSL_RSA_WITH_RC4_128_SHA). This will cause SSL handshake failure.
It can be fixed by using a more secure (not disabled) one, like
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2016-04-12 17:26:51 -04:00
Howard Gao
507193f714 ARTEMIS-477 Fix Certificate Issues in openwire test
also added a method impl to return a true uri instead of null.
2016-04-11 16:55:58 -04:00
Ville Skyttä
e6e1311f8d Add missing @Overrides 2016-04-11 16:51:01 -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
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
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ä
a0dc9861a0 Access static members directly 2015-12-21 22:01:21 -05:00