| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
AMQConnection.getNextChannelID: add method to abstract channel id assignment, allow max to be set
AMQConnectionDelegate*: add getMaxChannelID
AMQConnectionDelegate_0_10: use getNextChannelID for this session-id
SessionCreateTest: add test that attempts to create 65555 sessions on one connection
AMQConnectionTest: add unit test for getNextChannelID
SessionCreateTest takes a long, long time to run so is excluded by default
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@767201 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functionality after a broker restart.
merged from trunk r765604
QPID-1817 : Update QTC to provide the configuration file to an external broker
merged from trunk r765605
QPID-1813/QPID-1817 : Removed the new properties from the test-provider as this will affect all tests. The NoLocalAfterRecoveryTest now updates a ConnectionURL based on the JNDI data and uses that to start a connection. NLART also provides a default location for the derbyDB store as the DMS class does not correctly attempt to put the store in QPID_WORK. This will be re-addressed when ServerConfiguration is again available from a VHC object. ConnectionTest was updated to remove the literal values for the BrokerDetail options.
merged from trunk r765608
QPID-1813 : Add missing DerbyDB library dependency.
merged from trunk r765628
QPID-1818 : Exclude NoLocalAfterRecoveryTest as 0-10 client code path does not restore a transacted session after failover.
merged from trunk r765656
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@766021 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
allows tests to update the _configFile that is being used before the broker is started. By default the etc/config-systests.xml is used. This differs from the stock config.xml only in that it disables the Managment JMX interface by default. If a test requires this functionality it can provided an edited configuration. An example of how that might be done can be seen in SyncWaitDelayTest and will additionally be provided for QPID-1813.
A couple of tests were modified to remove their setUp/tearDown where the code did no additional work.
This made the tests cleaner. Additionally FrameworkBaseCase never actually called super.setUp() so that was fixed.
merged to trunk from r765602
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@766014 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
resolved the issue that it was not showing.
merged from trunk r764790
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@766005 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
MessageStores rather than TransactionLogs.
Merge from trunk inlucding recent fixes
This mirrors the change done in r764850 in bring the broker from 0.5-fix to trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@765984 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
merged from trunk r764838
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@765982 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
we could extract the AuthenticationException
merged from trunk r764141
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764146 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
connection close issues experienced on 0-8/9 branch
Excluded test from TCP runs as it is hardwired to InVM.
merged from trunk r764109
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764129 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Note: As our queues do not stop processing on the close() call it is possible that the backing store may not beable to be deleted. In this case all that
will occur is that it will log the failure to disk so an operations team can manually clean it up. When we improve the Queueing model for AMQP 1-0 we can address this behaviour.
merged fro trunk r764095
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764128 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
store. Also updated so that we store the queues evenly over 256 bins, thus giving us the ability to have around 8.1 million actives queues. The Hash function was borrowed from Apache Harmony. Added manual testing to ensure we are not limited by Linux's max file/dir per Inode of 31998. Made the test manual as creating 32000 queues does take a little while.
merged from trunk r764083
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764124 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
merged from trunk r764081
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764122 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Transacted and No-Ack
merged from trunk r764080
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764120 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
remove. So the remove call after the delete is now nolonger requried.
Added manual test to assist identifing the problem
merged from trunk r764079
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@764119 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
message references so that the underlying TransactionLog need not worry about that.
Updated MemoryMS to use this even to ensure that the code is exercised.
To ensure that the new BaseTransactionLog was correctly used when used by a TransactionLog. The configure() method now returns an Object(TransactionLog) that is the newly configured TL. Existing tests and code where the original TL reference was used have
been changed to use the output of the configure() call.
NOTE: the return type should be changed to TransactionLog but until we have completely split the TransactionLog and RoutingTable implementations then this is not possible.
The implementation also includes a number of items from the Flow To Disk review:
- The old get* Methods have been removed from the TransactionLog interface.
- Rollback should now rollback enqueues. (No test provided)
- StoreContext now has enqueue/dequeue methods that track the messageId/Queue pairing
- The linked list per message has been reduced to a link list per message that is enqueued on multiple queues. Messages that exist on only one queue have no additional overhead.
- Optimisation also included to:
Include message delete in 'dequeue transaction' where the message was only ever enqueued on a single queue.
All other message deletes are peformed as part of an asynchrounous commit.
The asynchrounous commit is setup via the StoreContext, which has had some work done to move it towards becomming a Qpid Transaction Object where all operations are performed against rather than going via the TransactionLog.
Merged from r760951 on trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@761673 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
checks failover doesn't occur and we know about it in less time than the connectiondelay which would be waited for if we attempted failover.
Merge of r761668 from trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@761669 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
connection retry but only on the initial connection...
Merged from trunk r759097
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@761253 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Simplest solution here is to disable the management interface for these tests. The more complex change to ensure the MC is shut down correctly and port freed during test startup will not be a problem for production. It only occurs here as we start a broker then stop and start a new one immediately.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752810 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
been flowed to disk
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750869 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
applied to queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
This includes a the failover test run in a loop.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750203 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748178 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
before returning null. Also modified AMQQueueBrowser to use receiveNoWait() when browsing queues using 0-10. These changes uncovered numerous second order bugs, mostly in failover. These are also fixed. This fixes QPID-1642 and QPID-1643.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747963 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Please read the JIRA for more details.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747961 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747717 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
be disabled. Updates as a result of merging configuration changes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@746265 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
SecurityConfiguration classes. Move almost all uses of o.a.commons.configuration.Configuration behind there.
@Configured delenda est
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@745799 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
all references and provided a test to ensure that whilst we are transitioning the configuration we can use the old MessageStore classes that now implement both interfaces without any config updates. Updates to the configuration can come when the store are renamed *TransactionLog
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744184 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744141 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
messagIDs. Several tests needed updating as they relied upon specified messageIDs.
Added a recovery mode to the MessageFactory where by new messages can have their ids specified but only as long as the new id is larger than the last one.
Recovered messages are always persistent.
Simplified a interfaces as a result of not requiring the messageID to be passed through.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744140 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
sent so that they have enough time to expire.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736618 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
occasional failures on a slow cruise control machine.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735994 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
module. Fix up a few bugs in other tests that this exposed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735735 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735024 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734677 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
ReturnUnroutableMandatoryMessageTest, DispatcherTest, PriorityTest and TimeToLiveTest to extend QpidTestCase
Add ReturnUnroutableMandatoryMessageTest, PriorityTest and TimeToLiveTest to the 010ExcludeList
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734379 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The SSL test profile runs the java client against the C++ broker using SSL connections
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734166 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pulled out the XA excludes into a separate excludes file
- made the cluster profile exclude the XA tests
- made the build system automatically set all system properties that
start with profile
- added a profile.clustered property that defaults to false
- made the cpp.cluster test profile set the profile.clustered
property to true
- modified the failover tests to exclude some erroneous asserts if
the broker is clustered
- modified the java client to not advertize a non-zero timeout
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@731810 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@722670 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker to aid in problem diagnosis
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712206 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Java broker test run. The C++ log directory could do with a similar setup change.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712110 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
occaisionally seeing on this test are not soley due to timing related issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712105 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@710075 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Modified QpidTestCase to start/stop multiple brokers for failover
testing.
- Modified QpidTestCase to substitute port variables into broker
start/stop commands.
- Modified test profiles to use the new port variables.
- Modified QpidTestCase to permit multiple exclude files.
- Modified test profiles to make use of a common exclude list:
ExcludeList
- Added ConnectionTest.testResumeEmptyReplayBuffer.
- Made default exception handling for Connection and Session log the
exception.
- Added SenderExcetion to specifically signal problems with
transmitting connection data.
- Modified Session to catch and deal with connection send failures
for sessions with positive expiry.
- Modified FailoverBaseCase to work for non VM brokers.
- Made FailoverTest fail if failover times out.
- Modified JMS implementation to make use of the recently added low
level session resume.
- Unexcluded failover tests from 0-10 test profiles.
- Excluded MultipleJCAProviderRegistrationTest due to its testing
strategy resulting in spurious failure when running as part of the
larger test suite.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708093 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
picked up by the test phase.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707695 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
connection is created and logging to highlight if we are unable to register our client connections. We do not need to unregister our clients as the same providers are used for all new connections.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707692 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SASL configurations
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707658 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
added a boolean to the connect method to indicate whether an SSL connection should be created.
currently there seems to be two issues.
1. The shutdownInput method used in IoReceiver is not supported by the SSLSocket implementation.
2. I haven't able to get client side authentication working.
For item 1 we may need to use nio classes to get around the issue.
For item 2 I am yet to figure out the correct config options to get client side auth working.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707453 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706894 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
have been recieved in the right place as per ritchiem's review comments.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705659 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Add test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705658 13f79535-47bb-0310-9956-ffa450edef68
|