| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates to QpidTestCase:
to allow the sending of messages that are tagged from an offset value.
to correctly commit the sent messages if the sent number does not fit within the batch window.
update to createMessage to add an INDEX int property.
update to rename ssl connectionfactory default.ssl to align with other factories. updated test-provider accordingly.
added a getTestQueue method that creates an AMQQueue using getTestQueueName to further simplify tests.
Updates to FailoverBaseCase
removed setFailingPort, failBroker now takes the port to fail, this allows both brokers to be failed more easily.
Update to ensure that all subclasses get a failover connection url, through the getConnection(), some were not. Fixed by overriding getConnectionFactory() call.
Fixed second broker work directory to write to defined QPID_WORK rather than java.io.tmpdir. If QPID_WORK is not set then tests will fall back to java.io.tmpdir
getFailingPort now returns the correct value if you are running InVM (2)or externally(test.alt.port)
Updated tests that used failBroker to use failBroker(getFailingPort()) so tests will work InVM and externally.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821821 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
during tearDown
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821820 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
exception during super.tearDown. This may have been the cause of CI stuck brokers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821819 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
it will enabled full DEBUG logging. If the logging needs tweeked for the test the test must remember the previous configuratio and restore it after the test run. Here I can see no reason to enable DEBUG logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821818 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
and the old one has not been consumed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821817 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821816 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821815 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821437 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
- AgentProxy object now has broker_bank and agent_bank accessors
- Fixed a bug in the returning og reference values (ObjectId)
- Added package_name accessor to SchemaObjectClass
- Added accessors for agent/broker bank to ObjectId
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821181 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
- In ruby: waitForStable => wait_for_stable
- Setting an unknown attribute on connection settings now throws an exception
- Added connected? accessor to Connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821109 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
It used to exit silently.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821070 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821066 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821003 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821000 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820932 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Turned out not to be very useful. Better to use profiling tools like systemtap.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820796 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820788 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
This was showing up in python/cluster interactions but it looks like
the race could also occur on a stand-alone broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820783 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
0-8/0-9 client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820739 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Also cleaned up the cluster test scripts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
subdirectory of the first instead of /tmp, allowing common cleanBroker() execution via QpidTestCase. Update QueueBrowserAutoAckTest to use the getTestQueueName() helper method instead of creating its own time-based queue names
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820685 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
directly. This will result in all subsequent tests having WARN logging. Added new setLoggerLevel method to QTC to allow the setting of a Log4j logger level for a given test run. Reverting the changes when the test is complete
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820606 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
using the currently defined System value.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820573 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820472 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820329 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
the Test run or the External Broker or both.
renamed _setProperties as it was confusing. Now two maps are used _propertiesSetForTestOnly and _propertiesSetForBroker calls to setSystemProperty puts the value in to both maps so test VM and the external VM will have a system property defined to have that value. If a test is configured to run against an external broker then two new methods help control how each vm is setup. setTestClientSystemProperty is used to set a value in the TestVM that is not copied to any external VM. setBrokerOnlySystemProperty can now be used to set a System property value in the external broker VM only.
As before all values are reverted at the end of the test run.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820323 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820322 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SelectorTest so that it uses more of QTC functionality and stops creating random queue names. The init() methods could be totally removed with a bit more work. Updated test() to be testOnMessage() to better identify what test was supposed to be using onMessage() previously they all were! JMSMessageID test should now pass again on CPP profile.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820321 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
check is done before any attempt to retrieve the getLastSeenNode(). This and the commits for QPID-1871,QPID-2116 are tested by RollbackOrderTest that now can be enabled for the Java profile.
Additional changes were done to SAMQQ to improve readability and add some debug loggging. Performance testing should be done to identify any penality for this additional logging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820320 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
look at.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820319 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820318 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820317 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Subscription deliveries that the Channel has been suspended. This is down by taking out the subcription sendLock on each subscription on this Channel.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820316 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
process. Update BrokerStartupTest to ensure that these values are set to the default info as the test looks for the existence of DEBUG messages as a sign of failure.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820315 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820314 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820252 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820138 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
changes to qmf.mk. Fixes QPID-2119
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820131 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
I was initially setting the qpid.max_count and qpid.max_size as strings instead of ints as expected by the API.
I also incorrectly fetched them as strings on the broker side.
This commit fixes acl.py test script to use int values for the above properties and then fetches them appropriately from the broker side.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820082 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819994 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the same way
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819975 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
modifications.
(Please refer to the JIRA for a description of these modifications)
I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp
I also added test cases to cover QPID-2108
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819948 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
- Connected console handler callbacks
- Added string representations for a number of object classes
- Added a feature that completes query requests sent to disconnected agents
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819819 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819738 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Updated ApplicationRegistries to pass the instanceID to the BrokerActor in an attempt to better identify what brokers are shutting down during our test runs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819605 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
in the same way as 0-8/9
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819604 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819600 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
that appears during Java broker test runs
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819594 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819593 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819592 13f79535-47bb-0310-9956-ffa450edef68
|