| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
before we rollback, and fix the ordering so that messages are released in queue order
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776378 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
java.testprofile: Make sure that the broker can always find the log configuration file even if we've used a different directory for the config file
QpidTestCase: expose the file that the output is being written to as a protected variable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769406 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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/trunk/qpid@767185 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765608 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765605 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
functionality after a broker restart.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765604 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765602 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
MessageStores rather than TransactionLogs
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764850 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764838 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
resolved the issue that it was not showing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764790 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
we could extract the AuthenticationException
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764141 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764139 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764109 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764095 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764083 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764081 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Transacted and No-Ack
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764080 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
So the remove call after the delete is now nolonger requried.
Added manual test to assist identifing the problem
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764079 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@761668 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760953 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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760951 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
connection retry but only on the initial connection. Failover will not be attempted after an established connection is lost. Updated FailoverMethodTest to test this behaviour.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759097 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
all messages are on broker and aging before we start our sleep cycle. The transacted session won't affect the way messages age.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@757696 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755324 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/qpid@752810 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
been flowed to disk
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750869 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
applied to queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@750203 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@747963 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Please read the JIRA for more details.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747961 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@744184 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@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/qpid@735735 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735024 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@731810 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722670 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker to aid in problem diagnosis
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@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/qpid@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/qpid@712105 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@710075 13f79535-47bb-0310-9956-ffa450edef68
|