Clebert Suconic
14457c4308
ARTEMIS-3464 Protecting scheduled tasks counter with a synchronized
2021-09-13 14:35:45 -04:00
Clebert Suconic
5dbbc98a62
ARTEMIS-3464 Fixing PageAckScanTest
2021-09-10 21:39:37 -04:00
Clebert Suconic
2fb23474ce
ARTEMIS-3464 Improving ACK reliability on Paging and code improvements
2021-09-10 18:27:00 -04:00
Clebert Suconic
43ca9540be
ARTEMIS-3472 Reconnect openwire could leave Openwire internal session null
2021-09-10 18:07:11 -04:00
Clebert Suconic
7792d8f7b3
ARTEMIS-3473 Some tests were leaving a directory named null for journal files under tests/integration-tests
2021-09-10 17:43:06 -04:00
Justin Bertram
8f6dd3ea37
ARTEMIS-3471 implement "session present" for MQTT CONNACK
2021-09-10 14:41:02 -05:00
Domenico Francesco Bruscino
9ed12b53d6
ARTEMIS-3467 FD leak on receiving AMQP large messages
2021-09-09 16:56:52 -04:00
Clebert Suconic
7fb4f80649
ARTEMIS-3464 Missing ACKs on Page and Mirror
2021-09-08 15:30:39 -04:00
franz1981
1e5b361b6a
ARTEMIS-3446 Pluggable quorum vote force live CLI command
2021-09-06 18:14:29 +02:00
franz1981
ce3b50c1a6
ARTEMIS-3430 Activation Sequence Auto-Repair
2021-09-06 18:14:29 +02:00
franz1981
c629289e9b
NO-JIRA speed-up replicated failback test
2021-09-06 18:14:29 +02:00
gtully
276f822a0e
ARTEMIS-1925 - allow redistribution with new loadbalance type of OFF_WITH_REDISTRIBUTION to ensure local consumers get priority, we only optionally redistribute when messages are stuck
2021-09-06 11:18:11 +01:00
gtully
b27aa03a37
ARTEMIS-1612 - strip any acceptor matching prefix from the message address such that further routing will match the lack of prefixes in broker routing, different fix for redistribution with prefixes
2021-09-06 11:08:36 +01:00
gtully
e985df77fb
ARTEMIS-3223 - ensure distribution uses the address from the message, rather than the address from the queue which may be a wildcard sub and not valid for publishng on, fix and test
2021-09-06 11:08:36 +01:00
gtully
224b89810d
ARTEMIS-2007 - allow redistribution if there are unmatched messages pending on a queue and there is new remote demand
2021-09-06 10:40:39 +01:00
Justin Bertram
6ee7e72db1
ARTEMIS-3445 automatically clean-up abandoned MQTT subscriptions
2021-09-03 16:48:01 -04:00
Robbie Gemmell
f82cd797cb
NO-JIRA: undo addition of module-specific resources-plugin version from 97e84bb0d1
...
Also consolidates plugin configuration to fix warning from having plugin defined multiple times
2021-09-03 12:05:29 -04:00
Domenico Francesco Bruscino
97e84bb0d1
NO-JIRA Fix test security resources copy
2021-09-01 15:10:29 -04:00
Clebert Suconic
b8ed0f21c8
NO-JIRA Fixing small typo on MessagesExpiredPagingTest
2021-08-27 13:20:42 -04:00
Robbie Gemmell
539749f0ba
ARTEMIS-3447: update test use of bcprov-jdk15on to current 1.69 release
...
Also, remove stale exclusion that isnt doing anything
2021-08-26 17:13:37 +01:00
Clebert Suconic
4d2fd89882
ARTEMIS-3436 Journal Replay operation
2021-08-24 19:07:15 -04:00
Clebert Suconic
edf688e706
NO-JIRA Adding Large Message into MessagesExpiredPagingTest
2021-08-24 18:52:45 -04:00
Clebert Suconic
e05221eba4
ARTEMIS-3234 Adjusting sizes on MessagesExpiredPagingTest
2021-08-24 13:38:24 -04:00
Clebert Suconic
ac46c56a2b
ARTEMIS-3234 Adjusting sizes on MessagesExpiredPagingTest
2021-08-24 12:21:28 -04:00
Clebert Suconic
d15680d8d9
ARTEMIS-3234 Additional test with expiry and paging
...
The issue found by this test has been previously fixed as part of ARTEMIS-3234
There's no additional fixing needed. This is just to commit the test to avoid future regressions.
2021-08-23 18:53:01 -04:00
Justin Bertram
3fd0eea667
ARTEMIS-3438 legacy updateQueue doesn't respect ringSize
2021-08-20 17:00:23 -04:00
Andy Taylor
364d4cc324
ARTEMIS-3426 - fix copying of large retained message
...
https://issues.apache.org/jira/browse/ARTEMIS-3426
2021-08-19 09:58:28 -04:00
Clebert Suconic
52f429afa1
NO-JIRA Fixing ExpiryRunnerTest intermittent test failure
2021-08-19 09:00:09 -04:00
Robbie Gemmell
fac1c4320d
ARTEMIS-3423: remaining #3697 feedback, move the non-shared sub test out of the shared sub test class
2021-08-19 12:19:31 +01:00
Clebert Suconic
3edb96b09b
ARTEMIS-3425 Possible NPE on Page reload
2021-08-18 17:49:35 -04:00
Clebert Suconic
656114045a
ARTEMIS-3423 Addressing suggestiongs from Robbie Gemmel on PR #3697
2021-08-18 13:01:30 -04:00
Andy Taylor
191cb34c54
ARTEMIS-3423 - create correct queue when durable subs recreated via AMQP
...
https://issues.apache.org/jira/browse/ARTEMIS-3423
2021-08-18 12:41:19 -04:00
Justin Bertram
82f0ece67c
ARTEMIS-3329 ability to purge all queues on address
2021-08-18 12:33:01 -04:00
Clebert Suconic
b8c64590f9
[maven-release-plugin] prepare for next development iteration
2021-08-09 11:58:28 -04:00
Clebert Suconic
37cc298973
[maven-release-plugin] prepare release 2.18.0
2021-08-09 11:58:27 -04:00
Clebert Suconic
cc4a51a3ea
[maven-release-plugin] prepare for next development iteration
2021-08-06 17:04:18 -04:00
Clebert Suconic
0b30187091
[maven-release-plugin] prepare release 2.18.0
2021-08-06 17:04:16 -04:00
Clebert Suconic
0e2ce484ba
[maven-release-plugin] prepare for next development iteration
2021-08-06 13:46:56 -04:00
Clebert Suconic
cb705b5c5c
[maven-release-plugin] prepare release 2.18.0
2021-08-06 13:46:54 -04:00
Robbie Gemmell
e72e7e74e9
ARTEMIS-3413: clean up tests to verify queue create behaviour, have names reflect what they check
2021-08-06 08:43:07 -04:00
Domenico Francesco Bruscino
3555dd7d25
ARTEMIS-3365 Add broker balancers
2021-08-06 08:33:21 -04:00
Domenico Francesco Bruscino
6d2b96c79e
ARTEMIS-3275 Lock CORE client communication during failover retries
2021-08-06 08:32:59 -04:00
Clebert Suconic
2ee22912f0
ARTEMIS-3413 Testing with RemoveQueue=false on the replica
2021-08-05 18:30:01 -04:00
Clebert Suconic
56299433c3
ARTEMIS-3340 Removing not needed TemporaryFolder usages on tests
2021-08-05 14:18:21 -04:00
gtully
ca7a100de0
ARTEMIS-3340 Sequential activation tracking for pluggable quorum replication policies + peer
...
Co-authored-by: franz1981 <nigro.fra@gmail.com>
2021-08-05 14:18:20 -04:00
Francesco Nigro
536271485f
ARTEMIS-2716 Pluggable Quorum Vote
2021-08-05 14:18:20 -04:00
gtully
c2da0fd663
ARTEMIS-3200 - remove braces from the belt and braces fix in ARTEMIS-2712, the braces are not necessary and leak, cleaning up in close negates the need to the session closeable
2021-08-05 09:27:12 -04:00
Robbie Gemmell
828d4940ec
ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile
...
Help catch issues in these areas on PR runs rather than full builds.
2021-08-04 15:01:28 +01:00
Justin Bertram
9a2e2b3a34
ARTEMIS-3397 fix test failure
2021-08-04 09:20:12 -04:00
Domenico Francesco Bruscino
a741ae9994
ARTEMIS-3367 Set verifyHost true for connectors by default
2021-08-03 18:14:51 -04:00
Clebert Suconic
813ed88ecb
ARTEMIS-3243 Implementing dual mirror with Broker Connections
...
There are some major tests added as part of this PR.
This PR has been done through an extensive collaboration with Robbie Gemmel on https://github.com/apache/activemq-artemis/pull/3633
2021-08-03 16:50:43 -04:00
Clebert Suconic
b6d78076d4
NO-JIRA using latch::countdown on RedeployTest instead of new Runnable
...
I have done this just because I thought it was prettier
2021-08-03 12:34:21 -04:00
Justin Bertram
6bd30e8fe3
ARTEMIS-3385 management changes can be reverted by XML update
...
Durable changes made via the management API (e.g. adding
security-settings, adding address-settings, adding diverts) can be
reverted when reloading the XML at runtime.
2021-08-03 12:30:00 -04:00
Justin Bertram
516f3425e7
ARTEMIS-3393 support securityDomain on in-vm acceptor
2021-08-03 10:19:22 -04:00
Justin Bertram
55533ae099
ARTEMIS-3394 ClassCastException when queue & divert have same name
2021-08-03 09:57:05 -04:00
Justin Bertram
7a9de8eea3
ARTEMIS-3302 swap deprecated X509Certificate
...
Casting the result of getPeerCertificates() to X509Certificate[] mirrors
what is done in the ActiveMQ "Classic" code-base.
A few tests which were imported from ActiveMQ "Classic" to verify our
OpenWire implementation were removed as they relied on a "stub"
implementation of javax.net.ssl.SSLSession that never would have worked
across multiple JDKs once javax.security.cert.X509Certificate[] was
removed. Furthermore, the tests appeared to be related to the OpenWire
*client* and not relevant to our broker-side implementation.
2021-08-03 09:55:36 -04:00
Andy Taylor
c358688fd6
ARTEMIS-3404 - expose max retry interval on bridge mbean
...
https://issues.apache.org/jira/browse/ARTEMIS-3404
2021-08-03 09:07:39 -04:00
Robbie Gemmell
6b8fdcb079
ARTEMIS-3409: skip tests if preconditions cant be satisfied
2021-08-03 08:55:00 -04:00
Clebert Suconic
eabfc0658f
NO-JIRA Moving AssertionLoggerHandlerTest to Unit Tests
...
This would help capture issues with logging configuration on PR checks
2021-07-29 22:20:07 -04:00
Clebert Suconic
62c3d864a2
NO-JIRA Addressing Intermitent Failure on MessageExpirationTest
2021-07-29 17:50:26 -04:00
Clebert Suconic
b8d0674ef9
NO-JIRA AssertionLoggerHandler improvements
...
I decided on NO-JIRA as this is only support tests themselves. No need for release notes on this commit:
I changed logging-CI.properties to be the same as logging.properties, with the only exception as file and console are limited by WARN.
while the AssertionLogger would still get INFO. as that's required for certain tests.
2021-07-29 11:38:26 -04:00
Robbie Gemmell
d9a44002c5
ARTEMIS-3304: replace use of deprecated constructors marked as for-removal since Java 16
...
updates all the uses in tests, missed in original commit
2021-07-27 14:55:40 +01:00
Domenico Francesco Bruscino
51801d978e
ARTEMIS-3396 Convert bytes properties to String for OpenWire
2021-07-22 11:23:28 -04:00
Howard Gao
8a88c5f913
ARTEMIS-3392 Scale down would fail if target queue's id greater than max int
2021-07-21 15:12:43 -04:00
Clebert Suconic
c479cb558a
ARTEMIS-3384 Adding tests around duplicate detection
2021-07-16 09:10:14 -04:00
Domenico Francesco Bruscino
2d07d0d844
ARTEMIS-3384 Fix bridge duplicate messages after reconnection
2021-07-15 14:20:45 -04:00
Clebert Suconic
b4aef3fca8
ARTEMIS-3386 Expiry messages using too many threads
2021-07-15 13:51:52 -04:00
Clebert Suconic
ee3814dbfd
ARTEMIS-3383 AMQPMessage.isDurable wrongly returns false during persistent lazy reload state
2021-07-12 23:00:16 -04:00
Justin Bertram
ec508d8306
ARTEMIS-3381 AMQP bypasses session when deleting queues
...
The AMQP implementation bypasses the ServerSession when deleting queues
which also bypasses security authorization.
2021-07-12 11:25:11 -04:00
Justin Bertram
bf875c3a37
ARTEMIS-3374 fix tests and shared subscriber case
...
A couple of tests were explicitly written to delete the
configuration-managed queue. Since this is no longer allowed these
tests had to change.
2021-07-12 11:25:11 -04:00
gtully
4c06d447fd
ARTEMIS-2974 - fix up the regexp used in the test to match to the end
2021-07-09 14:56:29 +01:00
gtully
3961fd1cf2
ARTEMIS-3372 - ensure test verification happens after expected failover event such that expected message is not tracked as a duplicate
2021-07-09 12:41:17 +01:00
franz1981
bb3f31340d
ARTEMIS-3354 journal-max-io cannot be set to 1 with ASYNCIO journal
2021-07-07 12:17:36 -04:00
gtully
7fc312ab5d
ARTEMIS-3372 - disconnect consumers on queue deletion event
2021-07-06 16:16:33 -04:00
Justin Bertram
b7f9807cd9
ARTEMIS-2919 support timestamping incoming messages
2021-07-06 14:09:00 -05:00
Justin Bertram
1d02d06eab
ARTEMIS-3374 config-managed queue can be deleted by durable subscriber
2021-07-06 14:06:39 -05:00
franz1981
bea0568a88
ARTEMIS-3360 Backup connector ignores TTL settings on the connection factories
2021-07-04 14:32:58 -05:00
Justin Bertram
45ae64a01c
ARTEMIS-3366 deleteAddress can remove SnF queue
2021-06-24 13:27:35 -05:00
Clebert Suconic
afa7209011
NO-JIRA Fixing Intermittent failure on AutoCreateExpiryResourcesTest with a Wait.assert change
2021-06-16 09:20:12 -04:00
Robbie Gemmell
98e5e19849
ARTEMIS-3347: update various commons-io usages, and bump all to latest
...
Consolidates and aligns versions missed in 73bcc78beb
2021-06-15 12:55:20 +01:00
Justin Bertram
867bf5e01e
ARTEMIS-3155 support better backwards compatibility
...
Support better backwards compability for SSL keyStoreProvider and
trustStoreProvider.
2021-06-14 18:04:06 -04:00
Domenico Francesco Bruscino
65782cb457
ARTEMIS-3337 Add test on multiple connection failures
2021-06-14 16:37:02 -04:00
Justin Bertram
a4c1155a01
ARTEMIS-3341 update checkstyle to latest + update code
...
As a follow-up to #3618/dc7de893747b90b627d729f9f18a758bb4dad9d5 update
checkstyle to the latest version, restoring the originally intended
"RightCurly" style, and updating all the code to properly adhere to the
style as enforced by the new checkstyle version.
The version of checkstyle we used before the aforementioned commit had
a bug which didn't properly enforced our intended "RightCurly" style
(see https://github.com/checkstyle/checkstyle/issues/6345 ). That commit
changed the style to accommodate the handful of unintended style
violations. This commit reverts that change for 2 main reasons:
- The style was always intended to use `alone` for both `METHOD_DEF`
and `CTOR_DEF`.
- There are over 1,000 existing uses of the intended style and around
30 violations of this style which were unintentionally allowed.
Reverting the style back to the original and cleaning up the unintented
violations makes the code more consistent and prevents further style
inconsistencies in the future.
There were a handful of other changes related to checkstyle bugs which
allowed unintended style violations. These were related to indentation
levels.
This closes #3619
(with some minor changes from Robbie to fix remaining violations)
2021-06-11 12:16:04 +01:00
Domenico Francesco Bruscino
bafefdc8ec
ARTEMIS-3338 Preserve prepared XA transactions on connection failure
2021-06-09 15:00:45 -04:00
Clebert Suconic
05498c350e
ARTEMIS-3261 Remove need to lookup replaceableRecords on the hot path
...
We known it's a replaceable record as part of the logic, no need to lookup the record type unless it's a reload from the system.
2021-06-09 14:52:06 -04:00
gtully
085766033b
no jira - remove unused log4j dependency
2021-06-08 10:19:12 +01:00
Justin Bertram
26b83985cf
ARTEMIS-3330 JMS session stopped on failed rollback
2021-06-07 15:00:34 -04:00
Clebert Suconic
3913c17c8d
NO-JIRA fixing intermittent failure on test
2021-06-07 13:05:34 -04:00
Clebert Suconic
7137252c5d
NO-JIRA fixing spelling udpate as update
2021-06-03 10:43:11 -04:00
Clebert Suconic
cfd032799c
ARTEMIS-3327 removing unecessary blocking operations on update and delete records
2021-06-03 10:37:16 -04:00
gtully
f4f31df97b
no jira - only delay on expected messages and no wait on null. speed up test - thanks rgemmell
2021-06-03 15:17:48 +01:00
gtully
3f67d93592
no jira - intermittnet failure due to possibly slower hw, eliminate that
2021-06-03 12:22:52 +01:00
gtully
9484e49ab0
no jira - fix intermittent checkthreadrule failure in JDBCJournalTest
2021-06-03 11:28:39 +01:00
Clebert Suconic
f380324ca3
NO-JIRA fixing intermittent failure with a Wait call
2021-06-02 19:53:26 -04:00
gtully
815f383f9c
ARTEMIS-3234 - revisit fix to deal with credit on unmatched acks, thanks to brusdev for the interceptor feature and test from ARTEMIS-2650
2021-06-02 16:23:46 +01:00
Clebert Suconic
ee92ddcb3b
NO-JIRA Fixing test
2021-06-01 19:41:40 -04:00
gtully
7ce9030e9f
ARTEMIS-3323 - ensure openwire message id is unique and consistent for the life of a broker when converted from core
2021-06-01 19:43:25 +01:00
Domenico Francesco Bruscino
ba6422d45f
ARTEMIS-3315 Fix JSON serialization of AMQP messages
...
Replace the JSON serialization errors for unknown types with their respective string representation.
2021-05-27 11:31:25 -04:00
Justin Bertram
cdaa00d470
ARTEMIS-3317 OpenWire property conversion can cause ClassCastException
2021-05-27 09:52:49 -04:00
Clebert Suconic
cfee2035c8
ARTEMIS-3318 Invalid data on page should not hold page cleanup
2021-05-27 08:08:47 -04:00