Andy Taylor
67c28b1c68
https://issues.jboss.org/browse/ENTMQ-780
...
A couple of tests to add to the patch provided
2015-06-08 15:53:48 +01:00
Christopher L. Shannon (cshannon)
ea03bb1f8c
https://issues.apache.org/jira/browse/AMQ-5813
...
Fixing countBeforeFull for TopicSubscriptions to report a positive value
2015-06-05 14:08:15 -04:00
Timothy Bish
a095e9b9dd
https://issues.apache.org/jira/browse/AMQ-5310
...
Adding tests that validate the code follows the JMS Spec expectations
for behavior of closed consumers and producers.
2015-06-04 17:05:59 -04:00
gtully
928e815a02
https://issues.apache.org/jira/browse/AMQ-5656 - add support for selective mbean suppression based on objectName attribute match. Avoids mbeanserver contention on systems where producer/consumers/dests are dynamic
2015-06-04 14:27:18 +01:00
Timothy Bish
73d2810c60
Test does not need JMX so disable to avoid clashing with brokers left
...
running by other tests.
2015-06-03 13:38:01 -04:00
Timothy Bish
848adc4b5d
https://issues.apache.org/jira/browse/AMQ-5822
...
Update the receive counter on reads to avoid dropping connections
wrongly.
2015-06-03 10:10:48 -04:00
mfrazier
dcc7b11347
AMQ-5713 - making accessors public to remove startup error.
...
Includes unit test DestinationBridgeAccessorsTest which replicated the problem and now passes.
2015-05-29 16:13:41 -07:00
Christopher L. Shannon (cshannon)
eece576b19
https://issues.apache.org/jira/browse/AMQ-5792
...
Adding SubscriptionStatistics to group together all metrics in a bean
for a subscription.
2015-05-28 15:47:30 -04:00
Timothy Bish
2518ab2802
Fix test failure in CI due to fixed port being in use.
2015-05-26 13:23:19 -04:00
Timothy Bish
3125caee5b
https://issues.apache.org/jira/browse/AMQ-5794
...
implement transport.connectAttemptTimeout option across the transports
fro OpenWire, STOMP, AMQP and MQTT and add tests to cover.
2015-05-26 12:29:23 -04:00
gtully
9bc602be43
https://issues.apache.org/jira/browse/AMQ-4705 - close window where both master and slave can be active - slave waits for possible keepAlivePeriod with the lock before startin. Ensures a keepAlive has completed on the master
2015-05-22 11:40:40 +01:00
gtully
5ee9a3426f
https://issues.apache.org/jira/browse/AMQ-5791 - apply patch from Vladimír Čaniga with thanks
2015-05-21 15:53:40 +01:00
gtully
c07d6c841d
https://issues.apache.org/jira/browse/AMQ-4842 - the store needed to be shared between master and slave
2015-05-20 13:42:49 +01:00
gtully
9ad65c62ed
https://issues.apache.org/jira/browse/AMQ-5164 https://issues.apache.org/jira/browse/AMQ-4842 - master slave advisory needed to wait for failover reconnect - exponential backoff was sometimes giving to long a delay. Retroactive override needs to applied after policies. Tests reinstated
2015-05-20 09:57:05 +01:00
gtully
baa10ed33e
more derby shutdown woes resolved
2015-05-20 09:57:05 +01:00
gtully
3fdf9861b2
https://issues.apache.org/jira/browse/AMQ-5783 - properly remove free topic from the store when there are no remaining subs. Issue: release of the index but remaining metadata refs to the old state. Mbean was also left dangling. test thanks to pat fox
2015-05-20 09:57:05 +01:00
gtully
17f4f349f3
more tidy up of derby usage in tests to ensure proper cleanup; ci failures
2015-05-20 09:57:05 +01:00
gtully
2536c03125
fix sync on failover updated urls - intermittent failure on FailoverComplexClusterTest
2015-05-20 09:57:05 +01:00
gtully
6f1f06fb16
tidy up derby usage - thread safe creation/shutdown to avoid derby failures and db creation/shutdown sql exceptions that leave db dir in inconsistent state
2015-05-15 14:06:04 +01:00
gtully
5e36f65e0e
https://issues.apache.org/jira/browse/AMQ-4705 - lastmod granualarity is second on some nix. Also write on lock acquire to ensure modification time change
2015-05-15 13:23:12 +01:00
gtully
4c8a4722a1
remove some dead code in tests
2015-05-15 12:21:28 +01:00
gtully
ed1622dd34
harden to address intermittent ci failure
2015-05-15 12:21:28 +01:00
gtully
fee7c1cf4c
https://issues.apache.org/jira/browse/AMQ-4705 - harden test - ensure existance before attempted mod
2015-05-13 16:30:06 +01:00
gtully
b8a20e9ef6
skipped first dispatch on vmtransport needed a better test - reworked to avoid busy loop on full and ensured sync on started for enqueue. Sort FailoverStaticNetworkTest and NetworkOfTwentyBrokersTest intermittent failures
2015-05-13 13:56:24 +01:00
gtully
ccbbecb4a4
https://issues.apache.org/jira/browse/AMQ-4705 - apply patch from ganesh murthy with thanks. Fix and test making use of last modified to track deletion and recreation events
2015-05-12 23:19:07 +01:00
gtully
c89bb7a316
fix intermittent failure of FailoverStaticNetworkTest. Bridge fails to start triggerStartAsyncNetworkBridgeCreation thread waiting on localBrokerInfo. The command was dropped due to contention between dispatch and peer start. Fix and test. Relates to https://issues.apache.org/jira/browse/AMQ-3684
2015-05-12 22:10:57 +01:00
gtully
3ef5389691
https://issues.apache.org/jira/browse/AMQ-4897 - rework with test that shows the blocking inactivity monitor task. Removed some redundant state
2015-05-12 22:10:57 +01:00
gtully
d467220085
add some more logging if tests fails
2015-05-12 22:10:56 +01:00
gtully
1359e8eae2
https://issues.apache.org/jira/browse/AMQ-4068 fix intermittent test failure. Rework usage check to prevent additions to the store rather than blocking scheduled dispatch from the store
2015-05-08 14:14:25 +01:00
Timothy Bish
3bfffca9c9
https://issues.apache.org/jira/browse/AMQ-5621
2015-05-07 18:42:11 -04:00
Timothy Bish
c10e6fa8f0
https://issues.apache.org/jira/browse/AMQ-5621
...
Convert to JUnit 4 while fixing sporadic failure due to the expiry
setting being left at default of 30 seconds, which on a fast machine
means the expiry tests sometime finish before the task kicks in.
2015-05-07 18:31:00 -04:00
gtully
82200b6e70
add test case for https://issues.apache.org/jira/browse/AMQ-5752 - fix needs some thought
2015-04-30 16:19:57 +01:00
Timothy Bish
9ef4259297
https://issues.apache.org/jira/browse/AMQ-5616
...
Use ConcurrentMap in declarations
2015-04-28 11:15:08 -04:00
gtully
bcdf770c10
ensure embedded jdbc is shutdown
2015-04-28 12:42:21 +01:00
gtully
81b8403f33
https://issues.apache.org/jira/browse/AMQ-5744 - fix up test refs to old spring jasypt
2015-04-28 12:33:29 +01:00
gtully
c129051175
https://issues.apache.org/jira/browse/AMQ-5746 - separate out start from creation of scheduler store. test via Martyn Taylor with thanks. This closes #80
2015-04-27 16:16:49 +01:00
gtully
23ecbe80d0
https://issues.apache.org/jira/browse/AMQ-5743 - confine logging to the jmx purge op
2015-04-24 13:35:02 +01:00
Dejan Bosanac
b8698953f3
https://issues.apache.org/jira/browse/AMQ-5744 - jasypt-spring31
2015-04-24 11:56:26 +02:00
gtully
ac635ddf1d
trap potential exception on abortive close
2015-04-23 13:25:39 +01:00
gtully
165959e250
tidy up a bunch of jdbc test cases to ensure embedded derby is shutdown
2015-04-23 13:12:49 +01:00
gtully
971ff0dd9e
https://issues.apache.org/jira/browse/AMQ-5542 - test that shows retaining of data files due to ack file map and the need for mKahadb if there are low limits and serial usage - test has been hanging since the fix
2015-04-23 13:10:47 +01:00
gtully
eb6c082631
https://issues.apache.org/jira/browse/AMQ-5735 - fix up semantics around lastDeliveredSequenceId
2015-04-22 16:32:17 +01:00
Timothy Bish
a0835c2c21
https://issues.apache.org/jira/browse/AMQ-5371
...
Move option ignoreNetworkConsumers up to base AbortSlowConsumerStrategy
so it can be used for both the original version and the slow ack aware
version.
2015-04-20 15:20:33 -04:00
Martyn Taylor
a65ac586c2
https://issues.apache.org/jira/browse/AMQ-5729 - Do not log passwords on MBean method calls.
...
Previous to this patch the AnnotatedMBean class would simply dump
any arguments passed in via JMX call to the log (when audit is enabled).
Method parameters can sometimes contain sensitive information such as
the password field on QueueView.sendTextMessage.
This patch adds a @Sensitive annotation to the JMX module allowing
implementations of MBean interfaces to mark method parameters as sensitive
preventing values from being logged.
2015-04-20 18:06:45 +01:00
Timothy Bish
514496eba9
https://issues.apache.org/jira/browse/AMQ-5621
...
Fix test not using the parameterized delivery mode value but using
Session.AUTOACKNOWLEDGE as the delivery mode value instead.
2015-04-20 12:40:42 -04:00
Christian Posta
01f56d0ca2
unit tests for https://issues.apache.org/jira/browse/AMQ-5153 LevelDB does not store subscribedDestination for durable subscriptions
2015-04-20 07:46:41 -07:00
gtully
7dc522d4c3
remove timing depdendency
2015-04-16 15:25:58 +01:00
Timothy Bish
ec9a92f6fc
https://issues.apache.org/jira/browse/AMQ-5649
...
Ensures that max producers on a connection includes anonymous producers
in its count, based on patch from: Christopher L. Shannon (cshannon)
<christopher.l.shannon@gmail.com>
Merged the test into the existing ConfigTest that validates the max
producers functionality.
2015-04-13 10:25:51 -04:00
Dejan Bosanac
2562cf21a2
https://issues.apache.org/jira/browse/AMQ-5718 - don't add messages to subscriber while it's discarding
2015-04-13 11:16:55 +02:00
gtully
b29eb384b8
https://issues.apache.org/jira/browse/AMQ-5710 - rework fix to resolve some unit test regressions, change now confined to rar usecase
2015-04-09 16:50:14 +01:00
Clebert Suconic
ab8f54b066
fixing a race on SharedLockFile
2015-04-08 11:17:00 -04:00
Clebert Suconic
f2837bac03
fixing a small test leak
...
TearDown is supposed to remove the getRootLogger(), at the same place it was added.
This appender was living the entire life cycle of the JVM after this test.
2015-04-08 10:33:42 -04:00
Clebert Suconic
0a161380f8
AMQ-5709 Fixing tests
...
https://issues.apache.org/jira/browse/AMQ-5709
This is just fixing a test properly
2015-04-08 10:28:42 -04:00
Clebert Suconic
89c75ca28a
AMQ-5709 Reworking Logging on Locker
...
https://issues.apache.org/jira/browse/AMQ-5709
This is about changing how the Log is done in case of not being able to lock (log only once)
2015-04-07 17:24:48 -04:00
Christian Posta
61da1faa4c
https://issues.apache.org/jira/browse/AMQ-5672 Added an option for allowing only a single selector for the virtual destination selector cache. also added some JMX views into the selector cache that can be used at runtime. includes unit tests
2015-04-06 16:12:20 -07:00
gtully
e16d054362
https://issues.apache.org/jira/browse/AMQ-5697 - fix regression in SimpleAuthorizationMapTest
2015-04-03 15:13:44 +01:00
gtully
1d71cb7036
https://issues.apache.org/jira/browse/AMQ-5674 - revisit change - use single redelivey delay attribute for both initial and subsequent delays - resolves regression in BrokerRedeliveryTest
2015-04-03 14:19:15 +01:00
Dejan Bosanac
8bb58036a0
https://issues.apache.org/jira/browse/AMQ-5697 - authorization map and composite destinations
2015-03-31 17:13:37 +02:00
Dejan Bosanac
0fd174b928
https://issues.apache.org/jira/browse/AMQ-5008 - certificate revocation list support
2015-03-30 16:39:15 +02:00
Christian Posta
efc9a8d578
Fix for https://issues.apache.org/jira/browse/AMQ-5689 Queue dispatching hangs when there are redelivered messages that dont match current consumers selectors, refactored out the pendingDispatchList in Queue implementation
2015-03-27 15:19:56 -07:00
Timothy Bish
3051882f92
https://issues.apache.org/jira/browse/AMQ-5606
...
Switch to the new QPid JMS client v0.1.0
2015-03-23 12:15:49 -04:00
Dejan Bosanac
20832f1f1b
https://issues.apache.org/jira/browse/AMQ-5674 - initialRedeliveryDelay not respected
2015-03-18 17:07:59 +01:00
Dejan Bosanac
3b39d2cc2a
https://issues.apache.org/jira/browse/AMQ-5644 - authorization map for wildcard subscriptions
2015-03-10 11:24:27 +01:00
artnaseef
dd35e357e3
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/activemq
2015-03-06 10:35:52 -07:00
Dejan Bosanac
24c2215f4e
Revert " https://issues.apache.org/jira/browse/AMQ-5644 - authorization map for wildcard subscriptions"
...
This reverts commit 7777744dc2
.
2015-03-06 18:06:17 +01:00
artnaseef
6efafbd7f1
Commit applied with thanks to Jeff Genender.
...
This closes #66
2015-03-06 10:01:33 -07:00
Jeff Genender
939c8a14df
AMQ-5636 - Update old openjsb tests to more current DBCP2 XA Camel tests
2015-03-06 09:51:26 -07:00
Dejan Bosanac
7777744dc2
https://issues.apache.org/jira/browse/AMQ-5644 - authorization map for wildcard subscriptions
2015-03-06 15:35:20 +01:00
gtully
ad39fc00fb
make the browse more deterministic - awaiting result of acks
2015-03-06 13:13:17 +00:00
Jeff Genender
58ed95d7c8
AMQ-5636 - Update DBCP to a much more recent version
2015-03-05 08:36:26 -07:00
gtully
ab28b771e3
https://issues.apache.org/jira/browse/AMQ-5640 - fix by ensuring parent stat is updated on dest init, thanks for the nice test Torsten
2015-03-05 14:46:59 +00:00
gtully
42b606da9d
seems 3 or 4 journal files are needed - on occasion test fails with 4
2015-03-05 14:29:20 +00:00
gtully
113a3815b0
remove deprecated usage of junit framework
2015-03-05 13:27:40 +00:00
Timothy Bish
00e4b25357
https://issues.apache.org/jira/browse/AMQ-5621
...
Test cleanup
2015-03-04 18:40:31 -05:00
Timothy Bish
6380bf3762
https://issues.apache.org/jira/browse/PROTON-833
...
Clean up a couple more tests.
2015-03-04 18:16:59 -05:00
gtully
11afd5f0bc
https://issues.apache.org/jira/browse/AMQ-5639 - implement and test - relaxing the restriction on advisories to those that are relevant to the bridge
2015-03-04 21:33:00 +00:00
Timothy Bish
7fdfdeba79
https://issues.apache.org/jira/browse/AMQ-5621
...
Turn off JMX, switch to JUnit 4 style test with timeout, actually
shutdown the running broker and clean up in tear down method.
2015-03-04 10:44:03 -05:00
Timothy Bish
257a4fa416
https://issues.apache.org/jira/browse/AMQ-5621
...
Clean up test, don't start JMX connector as it is not needed, add
timeout.
2015-03-03 19:16:28 -05:00
Timothy Bish
4b346360be
https://issues.apache.org/jira/browse/AMQ-5628
...
Fix getDouble to use Double.valueOf instead of Float.valueOf for
conversions.
2015-03-03 16:28:28 -05:00
Timothy Bish
6e038d5ffd
https://issues.apache.org/jira/browse/AMQ-5632
...
Return null from getBytes if no value present.
2015-03-03 16:17:40 -05:00
gtully
741e3aad3e
https://issues.apache.org/jira/browse/AMQ-5630 - add rejectDurableConsumers boolen attribute - when true, requests to create durable subscriptions will fail with a JMSException - not allowed
2015-03-03 13:30:10 +00:00
Dejan Bosanac
4f57744934
https://issues.apache.org/jira/browse/AMQ-5594 - mqtt and virtual topic subs; more refined removing of destinations, as we don't want to remove all descendant destination in a wildcard case
2015-03-02 14:40:07 +01:00
Timothy Bish
709b64b3d2
https://issues.apache.org/jira/browse/AMQ-5621
...
Remove need for hard sleep
2015-02-27 16:22:26 -05:00
Timothy Bish
0683d8be94
https://issues.apache.org/jira/browse/AMQ-5621
...
This test doesn't need to bind to the RMI connector to create Queue via
the JMX MBean.
2015-02-27 15:39:03 -05:00
Timothy Bish
84c1419c3d
https://issues.apache.org/jira/browse/AMQ-5621
...
Add the ability to toggle the default value of the ManagementContext
createConnector variable and set it to false for the surefire runs of
the unit tests, this should resolve failures of tests for no other
reason than a previous test failed to shutdown its broker. Also speeds
up tests as they don't need to create this resource in order to use the
MBeans.
2015-02-27 14:59:31 -05:00
Timothy Bish
5667e4ddcc
https://issues.apache.org/jira/browse/AMQ-5621
...
Disable the JMX bits on some additional tests that don't use it.
2015-02-26 19:26:41 -05:00
Timothy Bish
79568f16cc
https://issues.apache.org/jira/browse/AMQ-5621
...
Cleanup a couple to show what can be done to reduce test time.
2015-02-26 14:27:34 -05:00
Timothy Bish
f00d2fbde4
Remove the AMQ option from the PersistenceAdapterChose enum as that one
...
is long gone.
2015-02-26 10:40:18 -05:00
gtully
0142c4dc89
https://issues.apache.org/jira/browse/AMQ-5614 - additional expiration attribute on dead letter strategy and tests
2015-02-25 14:32:43 +00:00
gtully
be919fbc94
https://issues.apache.org/jira/browse/AMQ-4483 - rework to use destination option to indicate dlq, dlq strategy is typically not in place for dlq dests, option is set when a dlq is first used via region broker sendTodlq, fix and tests
2015-02-25 14:32:43 +00:00
Timothy Bish
02dc6ce982
Clean up some tests, reduce resources used and reduce runtime, convert
...
to JUnit 4 when possible and add timeouts.
2015-02-23 19:53:14 -05:00
Timothy Bish
05b401993b
Clean up the test, use more sensible waits and don't create JMX
...
connectors since not needed, reduces runtime by one third.
2015-02-23 17:18:12 -05:00
gtully
85b9c81a3f
https://issues.apache.org/jira/browse/AMQ-5229 - implement ability to pause/resume dispatch of message to all consumers of a queue
2015-02-23 21:41:33 +00:00
Robert Gemmell
1406d40ac3
AMQ-5608: dont NPE during authentication attempt if no users were defined for the SimpleAuthenticationPlugin
...
https://issues.apache.org/jira/browse/AMQ-5608
2015-02-23 17:42:17 +00:00
Timothy Bish
8858dc294c
https://issues.apache.org/jira/browse/AMQ-5596
...
Remove the deprecated JMS Streams code.
2015-02-18 15:47:40 -05:00
Dejan Bosanac
05c3112402
https://issues.apache.org/jira/browse/AMQ-5594 - virtual topics and wildcards
2015-02-18 18:29:20 +01:00
Timothy Bish
141ad4cb8f
Reduce test time by disabling the unneeded broker features.
2015-02-17 16:41:02 -05:00
Dejan Bosanac
1cab713864
https://issues.apache.org/jira/browse/AMQ-5585 - move messages on memory limit
2015-02-13 15:16:52 +01:00
gtully
b60bfbbeb4
Revert "rework https://issues.apache.org/jira/browse/AMQ-3684 and https://issues.apache.org/jira/browse/AMQ-4532 to avoid intermittent hangs, processing shutdown wile shutdown is in progress - AMQ1936Test and AMQ2021Test - using just TransportDisposedIOException to propagate exception response and start shutdown process and ignoring broker side for logging"
...
This reverts commit 8cf98a070f
.
seems there are a bunch of network tests that don't conform with the new approach - back to the drawing board
2015-02-12 18:00:58 +00:00
gtully
25376afac1
reduce test duration, relax derbydb durability - AMQ5266SingleDestTest
2015-02-11 15:27:45 +00:00