| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
store if it is persistent
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916359 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
profile once QPID-2422 is fixed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916358 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916356 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@915867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
durable subscriptions queue between disconnect and reconnect, create consumer1 on the correct connection in SessionPerConnection tests, add single connection NO_ACK test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@915866 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
session2 needs to be closed to release the lock on the queue
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907851 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
appear in the log file.
QPID-2059 : One of the main causes of SubscriptionLoggingTest failing was that the aynchronous broker call preceding the log scraping would not always have time to complete the logging to file.
So I have added a waitAndFindMessages method that will attempt to retreive the required string for a set period of time. If it is found then it will perform the findMessages as before. I have updated the LoggingTests to use this method first. This will ensure that we have a more sophoiticated wait that just adding Thread.sleep()s to the tests.
QPID-2059 : Being even more explicit in some of the Logging tests as the previous update caused a sinle ExchangeLoggingTest failure. Updated tests where I can to explicitly wait for a message ID they are testing for. Then used a findMatches with the more general match. i.e. wait for QUE-1001 but find all QUE- messages.
merged changes from 0.5.x r 906559,906459,905600
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906898 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
external broker than the testing AcknowledgeTest code was expecting. Additionally when run in the java-derby(persistent) case the unacknowledge messages were recovered when the broker was restarted. To address this the store of each broker is deleted when the it is stopped.
To ensure that the persistent tests do not impact each other enabled the broker.clean.between.tests on the java-derby profile
Merged change over from 0.5.x r901461
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906895 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Unable to locally reproduce failure so commiting to allow CI boxes to hammer result. As the broker shutdown can sometimes take a full 1s ensuring that we are notified in less time that 500ms is not going to work. Increased delay to 2s to ensure that we can confirm that we waited for less than that time when the connection is closed.
This change was committed to 0.5.x branch a r905559
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906872 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906156 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the commit in rev 906135
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906144 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
connection parameter which will be added shortly
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903924 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
I am comitting the patch as it is.
I will make the agreed changes in a subsequent commit shortly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903911 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
about durable subscriptions and have changed them accordingly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902231 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Updated references to QPID-1204 to QPID-2345 which talks more to the issue of setting exception cause when the connection is closed by the broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900943 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
message count on the queue hasn't changed after a 100ms sleep.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900919 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
The common module also contains code for the client, and therefore contains configuration required for the client to be accessible from within the common module. Therefore the ClientProperties.java is best be placed inside the common module.
The goal is to have a place holder for all configuration properties.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900595 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
based on the port of the running broker. This allows multiple brokers to be started by QTC with a given QPID_WORK value. Removed manual changing of QPID_WORK in FailoverBaseCase as there was no way to know what that value was later. All calls to startBroker in QTC will correctly append the port to the given QPID_WORK value. AcknowledgeOnMessageTest was updated to provide some extra debugging to help aid later investigation of why messages are not recieved after failover.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899797 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
message was not recieved and so the third was non-null and caused the test failure.
Adjusting the timeout for msgs 1 and 2 to 5s helped ensure that they were correctly received. I've left the logging in so that we can see what the results of the three receives were even if it fails on one of the asserts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899782 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
between sends (merged from 0.5-dev)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899296 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
condition in the test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892228 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889022 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
messages.
This update required a change to the FieldTable to clear any _encodedBuffer when setting a new value
Provided test in JMSDestintationTest. This test requires a broker that supports both 0-8/9 and 0-10 as we must first use a 0-10 connection to send a message, which does not set JMS_QPID_DESTTYPE, then receive the message on 0-8/9. This allows us to validate that messages recieved without JMS_QPID_DESTTYPE set will can correctly set the value without a BufferOverflow Exception when simply forwarding the message.
Excluded test from all cpp and InVM runs as test requires a 0-8/9 and 0-10 capable broker. Can reinstate to InVM when multiprotocol testing is capable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888345 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
attributes of the Queue MBean
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888250 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
tables for the Destination type when JMS_QPID_DESTTYPE has not been set.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887994 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887952 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887950 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
JMSDestinationTest to cover more test cases:
- Recieving a msg via Queue,Topic
- Recieving a msg via Queue with a MessageListener
- Recieving a msg on a queue that was sent to a topic, requires JMX interface to perform message move.
Excluded test from 0-8 profile until the problem has been resolved
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887948 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886842 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
reload has occured. Also update some method and paramter names
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885765 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
testDenyOnRestartInVhost(), add a delay to the SIGHUP based reload to help ensure the new config is in place before testing continues, helping prevent sporadic failure
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884635 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884634 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
ServerConfigurationTest: add test for reloading firewall config in main section,
not just as a combined file
FirewallConfigTest: add a systest for firewalls with real broker
QpidTestCase: add a reloadBroker() method
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It introduces two jvm args "broker.log.interleave" and "broker.log.prefix".
broker.log.interleave if set to false, will print the broker output into a separate file.
The file name will be in the following format and placed alongside the test output.
"%s/TEST-%s.broker.out"
Ex.
TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.out
TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.broker.out
"broker.log.interleave" is set to true in module.xml to default to the current behaviour.
"broker.log.prefix" which is set to "BROKER: " in the module.xml will prefix each broker output line.
This would help to follow the log files more easily as it would help to distinguish between broker and client output.
It would also be handy for grep.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832452 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
message
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829853 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
commit before returning, updated JavaDoc on QTC and PST to describe the contract of sendMessages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828770 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827968 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
configuration (with a secondary virtualhost)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827967 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827702 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825510 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
virtualhost level access control, giving the defined users full access to all artifacts in the vhost
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825453 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825362 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
tearDown() noted in QPID-2081 to allow enabling SimpleACLTest for java brokers. Update exclude lists accordingly, also removing a single-method exclude from the 010Excludes file made redundant by the complete SimpleACLTest exclusion when using cpp brokers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824706 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
configuring retry rather than using the default failover URL that has multiple brokers defined. Whilst this may not stop the test failing it will make the log files simpler.
Updated FailoverHandler to ensure that any pending write is sync'd if possible. Also updated Test to perform a synchronous operation after the ack to ensure it arrives at the broker, QPID-2138 highlights that it doesn't get there due to what appears to be Mina propagating the exception ahead of the data.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824704 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
NUM_MESSAGES, calling getCount() after the connection has started may result in getting a value lower than NUM_MESSAGES and then cause the test to end early. Fixed spelling errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824703 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
indexing so each message is uniquely numbered
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823496 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
proceeding to further checks, and if not present then deny immediately as it signifies a complete lack of consume rights in the ACL settigns for the user in question. Update SimpleACLTest to add a check for consumption with create but without consume right, and to allow each test to customise the ACL settings before QTC.setUp() starts the broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823464 13f79535-47bb-0310-9956-ffa450edef68
|