Commit Graph

2105 Commits

Author SHA1 Message Date
Clebert Suconic 2ebf3c8e1b ARTEMIS-2372 Filtering on Message Annotations 2020-04-28 11:18:30 -04:00
Clebert Suconic d116cb96de NO-JIRA Intermittent fixes 2020-04-24 10:14:26 -04:00
Clebert Suconic c883a73746 NO-JIRA Fixing intermittent failure 2020-04-23 22:28:13 -04:00
Clebert Suconic bddb67cd9a NO-JIRA Removing log.info on tests 2020-04-23 22:04:13 -04:00
Clebert Suconic 796a75c66d NO-JIRA Removing logs from jms-tests 2020-04-23 18:24:24 -04:00
Justin Bertram 4b97e06890 ARTEMIS-2726 implement min/max expiry-delay 2020-04-23 17:56:51 -04:00
Clebert Suconic ca4c4068df ARTEMIS-2732 Logging cleanup 2020-04-23 17:49:08 -04:00
Clebert Suconic 77d250bec8 ARTEMIS-2732 Bridging Apache Logger into JBoss Logging for the testsuite 2020-04-23 16:51:22 -04:00
Clebert Suconic e8d23f3144 NO-JIRA Retry test on intermittent failure 2020-04-23 16:51:22 -04:00
Clebert Suconic 7a0b0fd8a6 NO-JIRA Fixing checkstyle 2020-04-22 23:41:44 -04:00
Clebert Suconic 3541ebf218 ARTEMIS-2732 Cleanup on testsuite logging 2020-04-22 23:08:46 -04:00
Clebert Suconic 101db39d46 NO-JIRA Fixing intermittent failures 2020-04-22 23:08:45 -04:00
Clebert Suconic 11a3e810bb [maven-release-plugin] prepare for next development iteration 2020-04-21 17:06:21 -04:00
Clebert Suconic 30272e0c2f [maven-release-plugin] prepare release 2.12.0 2020-04-21 17:06:08 -04:00
Clebert Suconic 83977bda9b NO-JIRA speeding up MultipliedDelayedMessageTest 2020-04-21 15:55:48 -04:00
Clebert Suconic bdff832ab2 ARTEMIS-2730 Ignoring AuditLoggerTest as it needs to be moved 2020-04-21 14:05:03 -04:00
Clebert Suconic daeec3e7ab NO-JIRA intermittent failures 2020-04-21 14:05:03 -04:00
Clebert Suconic 964198494b NO-JIRA intermittent failure fix 2020-04-20 19:23:39 -04:00
Clebert Suconic ba3d638149 NO-JIRA retry-tests 2020-04-20 14:40:46 -04:00
brusdev 1d8e9f7fff ARTEMIS-2724 The setting auto-delete-created-queues doesn't work
Set the default auto-delete for created queues.
2020-04-20 14:16:37 -04:00
Clebert Suconic 576e01dba6 ARTEMIS-2725 Implementing retries policy on tests 2020-04-20 11:41:20 -04:00
Clebert Suconic d81c0f44eb NO-JIRA Fixing intermittent failures 2020-04-20 11:38:03 -04:00
Clebert Suconic 91a4ef4c20 ARTEMIS-2722 Separate tests for FileLockNodeManager from FailoverTest 2020-04-17 22:39:44 -04:00
Clebert Suconic a000164169 ARTEMIS-2721 Activation keeps retrying even after server.stop()
This won't be an issue on a real server (Production system)

however, on the testsuite or while embedded this could cause issues,
if a same instance is stopped then started.

This is the reason why BackupAuthenticationTest was intermittently failing.

I also adapted the test since I would need to stop the server and reactivate it in order to change the configuration.
The previous test wasn't acting like a real server.
2020-04-17 18:26:22 -04:00
Clebert Suconic 7314cc7ae9 NO-JIRA Fixing intermittent failure on QueueAutoDeleteTest 2020-04-17 17:26:33 -04:00
Clebert Suconic 2ac0e43efb NO-JIRA fixing intermittent failure on RetroactiveAddressTest 2020-04-17 16:53:37 -04:00
Clebert Suconic 636ff8a9c8 NO-JIRA Speeding up tests 2020-04-16 21:57:32 -04:00
Clebert Suconic b9103e0903 NO-JIRA Checkstyle 2020-04-16 21:48:23 -04:00
Clebert Suconic 931fac2d7c NO-JIRA JMS Tests with ReceiveNoWait for assertNull 2020-04-16 18:29:02 -04:00
Clebert Suconic a5b2afabe2 NO-JIRA Bump Extra tests after the release 2020-04-16 16:31:24 -04:00
Clebert Suconic d231e2ac63 [maven-release-plugin] prepare for next development iteration 2020-04-16 16:16:41 -04:00
Clebert Suconic 9636f4a3b0 [maven-release-plugin] prepare release 2.12.0 2020-04-16 16:16:28 -04:00
Clebert Suconic c2c27bf601 NO-JIRA Fixing tests that were changing logging configurations 2020-04-16 15:53:39 -04:00
Clebert Suconic 806b8d3217 NO-JIRA Speedup PageCountSyncOnNonTX 2020-04-16 13:33:11 -04:00
Clebert Suconic 6e611d8c14 NO-JIRA Fixing intermittent failure on AutoDeleteJmsDestinationTest 2020-04-16 13:23:30 -04:00
Clebert Suconic d809976e4e NO-JIRA Fixing LargeMessageTest::testPendingRecord 2020-04-16 12:13:19 -04:00
Clebert Suconic 0abe7e7bc0 NO-JIRA Fixing intermittent failures on BridgeTest 2020-04-16 12:02:55 -04:00
Clebert Suconic 41f62b9de2 NO-JIRA Fixing some Wait clauses that are too short
Using a small amount of wait on the Wait clause
was leading to a few test intermittent failing
as part of CI
most likely because of major GC events.
2020-04-16 11:34:15 -04:00
Justin Bertram 410a552894 ARTEMIS-2711 use peer host:port for acceptor SSL engine 2020-04-16 10:32:54 -04:00
Clebert Suconic ad60a0b02b ARTEMIS-1975 Dealing with connection drops on AMQP Large Message 2020-04-15 22:26:58 -04:00
Francesco Nigro 46060b89ff ARTEMIS-2676 PageCursorProviderImpl::cleanup can save decoding pages without large messages 2020-04-15 22:20:50 -04:00
Francesco Nigro e4c5ea719f ARTEMIS-2713 Added ReplicatedMultipleFailbackTest 2020-04-15 21:56:34 -04:00
Clebert Suconic e857c1b953 NO-JIRA Fixing test race on Wait (ProducerAutoCreateQueue) 2020-04-15 14:35:36 -04:00
Clebert Suconic 9e9f88b6b7 ARTEMIS-2685 Fixing Examples
The examples were broken after the change on ServerUtil.
2020-04-14 11:22:09 -04:00
Clebert Suconic b9ff5a1e8d ARTEMIS-2692 Fixing queue durability on tests 2020-04-14 09:17:25 -04:00
Clebert Suconic c326d2eb84 NO-JIRA Cleanup some commented out code 2020-04-13 16:40:29 -04:00
Clebert Suconic 5141d4f0e2 ARTEMIS-2709 Ignore test until it can be fixed 2020-04-13 16:14:24 -04:00
Justin Bertram 701b4e4794 ARTEMIS-2692 refactor queue creation
This commit changes all tests to use the new methods.
2020-04-13 14:25:30 -05:00
Justin Bertram 2efa44daf5 ARTEMIS-2692 refactor queue creation
This commit does the following:
- Deprecates existing overloaded createQueue, createSharedQueue,
  createTemporaryQueue, & updateQueue methods for ClientSession,
  ServerSession, ActiveMQServer, & ActiveMQServerControl where
  applicable.
- Deprecates QueueAttributes, QueueConfig, & CoreQueueConfiguration.
- Deprecates existing overloaded constructors for QueueImpl.
- Implements QueueConfiguration with JavaDoc to be the single,
  centralized configuration object for both client-side and broker-side
  queue creation including methods to convert to & from JSON for use in
  the management API.
- Implements new createQueue, createSharedQueue & updateQueue methods
  with JavaDoc for ClientSession, ServerSession, ActiveMQServer, &
  ActiveMQServerControl as well as a new constructor for QueueImpl all
  using the new QueueConfiguration object.
- Changes all internal broker code to use the new methods.
2020-04-13 14:25:30 -05:00
Clebert Suconic 0dfbfaa833 NO-JIRA Adding Serialization compatiblity for a recent 2.x release 2020-04-13 12:25:51 -04:00
Robbie Gemmell 17b5b09b46 ARTEMIS-2659: address some more sporadic test failures due to races in tests 2020-04-13 16:13:31 +01:00
Clebert Suconic e5b8237d2b NO-JIRA Increasing timeout on test and avoiding intermittent failure 2020-04-08 22:41:06 -04:00
Clebert Suconic 4d7c4ea51c NO-JIRA Improving logging on CoreClientOverOneWaySSLKerb5Test
in case of a failure, it should throw the complete exception instead of just showing Assert.fail
2020-04-08 22:33:56 -04:00
Clebert Suconic a084e5b37f NO-JIRA Avoiding intermittent failures on BridgeTest 2020-04-08 22:27:37 -04:00
Clebert Suconic bbac2937ee NO-JIRA Avoiding intermittent failure on OpenWireLargeMessageTest 2020-04-08 22:17:49 -04:00
Clebert Suconic fa67499509 NO-JIRA Avoiding Intermittent failures on FederatedQueueTest 2020-04-08 16:49:57 -04:00
brusdev c36170477d ARTEMIS-2686 Fix MQTT connect message rejection
Initialize the session state with a default value to fix a NPE, when an incoming
MQTT interceptor rejects a MqttConnectMessage.
2020-04-08 15:45:19 -04:00
brusdev 24c0601519 ARTEMIS-2684 NullPointer exception when slave tries to scale down
Check the parentServer before to access to its configuration and storageManager.
2020-04-08 15:42:26 -04:00
Clebert Suconic 7ff71a97af ARTEMIS-2699 Avoid some journal exceptions on test 2020-04-08 14:56:06 -04:00
brusdev 0f200a4798 ARTEMIS-2698 Expose queue group attributes 2020-04-08 12:53:56 -04:00
Francesco Nigro 124ed872a6 ARTEMIS-2702 QuorumVoteServerConnect with requestToStayLive is voting order sensitive 2020-04-08 12:53:03 -04:00
Clebert Suconic ee29b4be10 ARTEMIS-2659 Fixing auto created queues leading to journal errors
This was causing the queue to be removed right before the server being stopped, leading to exceptions about the journal being stopped.
2020-04-08 12:42:38 -04:00
Clebert Suconic 1932cfc818 ARTEMIS-2659 Fixing intermittent failures 2020-04-08 11:34:05 -04:00
Clebert Suconic 858a8240f9 ARTEMIS-2659 / ARTEMIS-2673 Fix AmqpSendReceiveTest.testAcceptWithoutSettling 2020-04-07 23:06:40 -04:00
Clebert Suconic af796d5ce4 ARTEMIS-2701 Improving DLQ/check over previously removed records 2020-04-06 12:25:35 -04:00
Clebert Suconic ae17fd6552 NO-JIRA Fixing intermittent failure on AutoDeleteJmsDestinationTest 2020-04-05 00:58:57 -04:00
brusdev 38a79be314 ARTEMIS-2691 Improve critical analyzer LOG policy
Reset the critical component timer after the expiration to allow further LOG
actions after the first expiration.
2020-04-04 18:19:46 -04:00
Clebert Suconic 1320ad9367 NO-JIRA more fixes into NotificationTest
this test was failing intermittently.
Some small speedup on the test as well.
2020-04-03 10:24:24 -04:00
Clebert Suconic b0cfbe0a34 NO-JIRA Fixing NotificationTest 2020-04-02 11:15:16 -04:00
Atri Sharma 505b3b0fdc ARTEMIS-2636: Add Disk Store Usage Metrics
ARTEMIS-2688: Check Arguments In FileStoreMonitor.calculateUsage
2020-04-02 11:04:42 -04:00
Clebert Suconic bd77a536c6 ARTEMIS-2685 Not Block Netty Thread in any way for OpenWire 2020-04-01 18:02:48 -04:00
Francesco Nigro 493ce497c7 ARTEMIS-1975 Fix AMQP paged large message usage counter 2020-04-01 17:46:26 -04:00
Francesco Nigro 891f2817ff NO-JIRA Improve AMQP paging test coverage and determinism 2020-03-31 15:55:04 -04:00
Atri Sharma 405eb969c1 ARTEMIS-2636: Introduce Disk Usage Metrics
ARTEMIS-2636: This commit introduces metrics to publish the amount of disk used currently
2020-03-30 22:27:58 -04:00
Justin Bertram 59e07c9780 ARTEMIS-2681 timestamp not set on notif msgs 2020-03-27 15:42:26 -04:00
Federico Valeri 8cf35385a4 ARTEMIS-2608 Fix ClassCastException on binary properties conversion 2020-03-27 13:12:57 -04:00
Clebert Suconic 6d2b17d23a NO-JIRA Improving SoakPagingTest 2020-03-26 14:38:57 -04:00
Clebert Suconic ca50b3449e ARTEMIS-1975 Removing ThreadLocal for StorageManager 2020-03-25 21:54:46 -04:00
Justin Bertram fdfe3ba3fa ARTEMIS-2679 deprecate message-expiry-thread-priority
Due to the changes in 6b5fff40cb the
config parameter message-expiry-thread-priority is no longer needed. The
code now uses a ScheduledExecutorService and a thread pool rather than
dedicating a thread 100% to the expiry scanner. The pool's size can be
controlled via scheduled-thread-pool-max-size.
2020-03-25 16:43:38 -04:00
Clebert Suconic 03fb630f73 ARTEMIS-1975 Fixing LargeMessage encoding for replication 2020-03-25 16:16:05 -04:00
Clebert Suconic 31e72c6cbb NO-JIRA Adding timeout into AmqpReplicatedLargeMessageTest 2020-03-24 23:05:23 -04:00
Clebert Suconic a4489a322e ARTEMIS-1975 Moving encode cache towards AMQPLargeMessage
Using a property on AMQPLargeMessage instead of a ThreadLocal
This was causing issues on the journal as the message may transverse different threads on the journal.
2020-03-24 18:22:59 -04:00
Clebert Suconic 31c945f8b0 ARTEMIS-1975 Fixing encodesize cached on AMQP Large Message
Encoding ahead is broken with AMQP Large Message
This is still part of ARTEMIS-1975
2020-03-24 15:51:46 -04:00
Benjamin Graf 4b49b3f371 ARTEMIS-975: Add transactional records to deletedRecords to check for committed transactions that also hold references to 2020-03-24 09:32:47 -05:00
Clebert Suconic f874a02d17 ARTEMIS-2673 PageStore should only be removed when Address is removed
& ARTEMIS-2674 AMQP should use a separate executor for IO
2020-03-23 20:02:17 -04:00
Justin Bertram 3107535a32 ARTEMIS-2671 NPE in LDAP security plugin listener
To get the name of the destination use the relative Rdn position rather than a
strict match of "uid". Also, improve logging.
2020-03-23 17:02:38 -04:00
Justin Bertram 402dda2161 ARTEMIS-2667 NPE w/clearing non-durable dupl ID cache 2020-03-23 16:55:42 -04:00
Francesco Nigro 085a74cf06 ARTEMIS-2669 not durable AMQP messages cannot became durable on depaging 2020-03-22 17:46:37 -04:00
Clebert Suconic 559fa2008d ARTEMIS-2672 multi-thread isue with Shared Subscriptions
Some of them may throw queue already existed exception
2020-03-20 21:26:45 -04:00
Michael Pearce f1fdfc6857 ARTEMIS-2665 AMQP use createSharedQueue like Core 2020-03-18 11:51:58 -04:00
brusdev 974a80002a NO-JIRA Fixing GeneralInteropTest stability 2020-03-17 16:23:05 -04:00
brusdev 43639bdeae ARTEMIS-2664 The prefetch size is exceeded after delivered acks
Decrement delivered acks before acquiring credits.
2020-03-17 14:08:10 -04:00
Francesco Nigro 5f0b7dd7cd ARTEMIS-2661 AMQP Journal loading is triggering reencode 2020-03-17 14:02:28 -04:00
Clebert Suconic 395eb1a2bb NO-JIRA Fixing GeneralInteropTest 2020-03-17 12:42:55 -04:00
Clebert Suconic 4723405214 ARTEMIS-2658 Enabling thread check at end of test 2020-03-17 09:53:07 -04:00
Clebert Suconic c801c00e33 ARTEMIS-2662 Using previously stored encodeSize on page record offset
There is no guarantee that the encodeSize size is the same in AMQP right after read.
As the protocol may add additional bytes right after decoded such as header, extra properties.. etc.
2020-03-17 05:55:25 -04:00
Clebert Suconic ff58e6e306 ARTEMIS-2658 Smoke tests for Paging on AMQP and Core 2020-03-16 16:43:31 -04:00
Justin Bertram 31f00fda36 NO-JIRA some tests for auto-create & FQQN w/JMS 2020-03-16 09:25:55 -05:00
Justin Bertram 91eeacca31 ARTEMIS-2659 fix race in AMQP test 2020-03-16 09:02:51 -05:00
Clebert Suconic c3128aa144 ARTEMIS-2642 Fixing Drain Timeout Issue on AMQP
The drain control has to immediately flush
otherwise a next flow control event may remove the previous status from Proton.
So, this really cannot wait the next executor, and it has to be done immediately.
2020-03-11 11:44:42 -04:00