summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in ais_check, causing cluster tests to fail.Alan Conway2009-10-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822268 13f79535-47bb-0310-9956-ffa450edef68
* Remove conflicts checked in earlierStephen D. Huston2009-10-061-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822225 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Fixed wait for messages loop so on error the test does not get stuckMartin Ritchie2009-10-061-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822170 13f79535-47bb-0310-9956-ffa450edef68
* Get remaining tests running on WindowsStephen D. Huston2009-10-054-43/+143
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822091 13f79535-47bb-0310-9956-ffa450edef68
* Improve ability to avoid dialogs in automated testsStephen D. Huston2009-10-051-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822086 13f79535-47bb-0310-9956-ffa450edef68
* Add new files from r821000; Fixes QPID-2130Stephen D. Huston2009-10-051-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@822018 13f79535-47bb-0310-9956-ffa450edef68
* Minor improvements to cluster logging.Alan Conway2009-10-053-16/+21
| | | | | | Include the original error message in critical log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821948 13f79535-47bb-0310-9956-ffa450edef68
* Removed AMQP method body classes from public API.Alan Conway2009-10-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821916 13f79535-47bb-0310-9956-ffa450edef68
* Correct some powershell problems for WindowsStephen D. Huston2009-10-054-27/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821887 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: cluster udpate did not presever deliver-properties.exchange on messages.Alan Conway2009-10-0513-79/+118
| | | | | | | | Also minor improvements: - Improved debug logging for consumers. - Cluster tests scripts work with latest corosync: don't check/set ais group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Update to AOMT based tests, Test now continues as long as ↵Martin Ritchie2009-10-054-6/+44
| | | | | | | | | messages are received. If there has been no message received for 5 seconds then it counts the test as failed. Excluded AutoAck failover tests due to QPID-143 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Add testing for publication on a dirty session after failover.Martin Ritchie2009-10-052-0/+409
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821828 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Add testing for ack after failover, and testing for ↵Martin Ritchie2009-10-053-79/+282
| | | | | | acknowledgement in a dirty session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821826 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Add Acknowledge tests and QuickAcking manual test helper.Martin Ritchie2009-10-055-19/+426
| | | | | | Updated AcknowldegeAfterFailoverTest to correctly cover the failure cases. Sending messages on a dirty transaction and Receiveing messagges on a dirty session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821824 13f79535-47bb-0310-9956-ffa450edef68
* Fix for dirty sessions, start to test that sessions are dirty when required.Martin Ritchie2009-10-052-21/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821823 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Updated AcknowledgeTests to cover all ack modes and the ↵Martin Ritchie2009-10-055-88/+601
| | | | | | synchronous receive and asynchronous onMessage approaches. Also added tests that failover between acking. Currently these tests are setup to repoulate the broker between failover. However, in a clustered environment that would not be requried. Investigation is need on how best to setup failover tests in general so that clustered and non-clustered environments can be easily tested. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821822 13f79535-47bb-0310-9956-ffa450edef68
* Updated testing harness: QpidTestCase and FailoverBaseCase.Martin Ritchie2009-10-057-204/+192
| | | | | | | | | | | | | | | | | | 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
* Update to ensure system properties are always reset even if exception ocurrs ↵Martin Ritchie2009-10-051-6/+11
| | | | | | during tearDown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821820 13f79535-47bb-0310-9956-ffa450edef68
* Update to FBC to ensure second broker is shutdown in the event of an ↵Martin Ritchie2009-10-051-2/+18
| | | | | | 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
* Removed BasicConfigurator.configure() this should not be used in testing as ↵Martin Ritchie2009-10-051-0/+1
| | | | | | 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
* Updated BlockingWaiter to provided more details when a new exception arrives ↵Martin Ritchie2009-10-051-1/+1
| | | | | | 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
* Added close actor to NAR to prevent exception during InVM broker shutdown.Martin Ritchie2009-10-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821816 13f79535-47bb-0310-9956-ffa450edef68
* Updated broker log4j.xml to remove the DEBUG logging from o.a.commonsMartin Ritchie2009-10-051-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821815 13f79535-47bb-0310-9956-ffa450edef68
* Look for qpidd.exe in various places, not just DebugStephen D. Huston2009-10-033-6/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821437 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes in Ruby Console:Ted Ross2009-10-027-9/+50
| | | | | | | | | | - 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
* QMF Fixes:Ted Ross2009-10-027-12/+32
| | | | | | | | | - 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
* qpidd prints message to stderr if logging configuration is invalid.Alan Conway2009-10-021-15/+19
| | | | | | It used to exit silently. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821070 13f79535-47bb-0310-9956-ffa450edef68
* Applied patches to resolve QPID-2076Stephen D. Huston2009-10-026-12/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821066 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated enableQueueEvents() in the doxygen comments. Use setInt() instead.Jonathan Robie2009-10-021-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821003 13f79535-47bb-0310-9956-ffa450edef68
* define content- and view- classes separately from message classGordon Sim2009-10-0227-428/+734
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942: fix test exclusionRobert Gemmell2009-10-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820932 13f79535-47bb-0310-9956-ffa450edef68
* Removed LatencyTracker from cluster.Alan Conway2009-10-017-201/+6
| | | | | | | 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
* Set cluster version number from SVN revision.Alan Conway2009-10-011-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820788 13f79535-47bb-0310-9956-ffa450edef68
* Fix broker race where broker closes connection before sending close-ok.Alan Conway2009-10-012-8/+15
| | | | | | | | 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
* QPID-942 : Add Simplistic Producer Flow Control to the java Broker / java ↵Robert Godfrey2009-10-0116-29/+695
| | | | | | 0-8/0-9 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820739 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086 - problem with read-credit.Alan Conway2009-10-019-74/+70
| | | | | | | Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2125: Make FailoverBaseCase set the second brokers QPID_WORK as a ↵Robert Gemmell2009-10-012-5/+2
| | | | | | 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
* QPID-2121 : Noticed that the logging level for the test VM was being set ↵Martin Ritchie2009-10-012-7/+46
| | | | | | 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
* QPID-2121 : Correctly set the broker properties for the test, rather than ↵Martin Ritchie2009-10-011-1/+1
| | | | | | using the currently defined System value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820573 13f79535-47bb-0310-9956-ffa450edef68
* Updated library dependenciesTed Ross2009-09-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820472 13f79535-47bb-0310-9956-ffa450edef68
* reenabled spec file cachingRafael H. Schloming2009-09-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2121 : Update to QTC to allow the setting of System Properties for just ↵Martin Ritchie2009-09-303-15/+84
| | | | | | | | | | 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
* Correct order of log4j entries so our parser doesn't print an errorMartin Ritchie2009-09-303-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118 : Corrected 010Exclude for runtime selector exception. Tidied up ↵Martin Ritchie2009-09-303-100/+33
| | | | | | 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
* QPID-2120 : Updated SimpleAMQQueue to ensure that the sub.isSuspended() ↵Martin Ritchie2009-09-304-72/+118
| | | | | | | | 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
* Add debug logging to see what the next message the Subscription is going to ↵Martin Ritchie2009-09-301-1/+9
| | | | | | look at. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820319 13f79535-47bb-0310-9956-ffa450edef68
* Prevent NPE in QueueEntryImpl.debugIdentityMartin Ritchie2009-09-301-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820318 13f79535-47bb-0310-9956-ffa450edef68
* Add toString to AbstractActor to allow actors to be used in debug log messagesMartin Ritchie2009-09-301-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2116 : Ensure that AMQChannel correctly notifies all running ↵Martin Ritchie2009-09-301-4/+51
| | | | | | 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
* Update QTC to allow the setting of debug logging for the external broker ↵Martin Ritchie2009-09-302-0/+28
| | | | | | 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