summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* FailoverBaseCase has not been using the testprofile defined test.port.alt ↵Martin Ritchie2009-09-213-5/+11
| | | | | | for the failover server. As a result the connection has been failing. Updated to use correct system property and added text to both default.testprofile and test-provider.properties to ensure that the changes are made in both locations, Ideally JNDI connection would use the same system property that is used by QTC for starting the broker. However I don't believe that it is currently doing that. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817295 13f79535-47bb-0310-9956-ffa450edef68
* Enabled some tests that were unintentionally disabled.Alan Conway2009-09-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816781 13f79535-47bb-0310-9956-ffa450edef68
* Added accessor for returned method argumentsTed Ross2009-09-182-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816776 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-1828-507/+578
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816770 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange readCredit logic for correctnessAndrew Stitcher2009-09-181-14/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816763 13f79535-47bb-0310-9956-ffa450edef68
* Rolling back my recent change 816715. These script changes don't work with ↵Michael Goulish2009-09-1812-35/+27
| | | | | | the RH "Ptolemy" build system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816731 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1812-27/+35
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816715 13f79535-47bb-0310-9956-ffa450edef68
* New suppressions for RHEL4 only, taking care of extensive leaks inMichael Goulish2009-09-181-0/+76
| | | | | | | | | | | dl_open and a couple other libs after a recent upgrade. NOTE -- these should be investigated soon! But we need to get the RHEL4 build functioning again, first. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2111 SelectorTest Unify selector tests into one class. AddAidan Skinner2009-09-182-314/+322
| | | | | | | testRuntimeSelectorError git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816579 13f79535-47bb-0310-9956-ffa450edef68
* Add console control handler to properly shut down broker on ^C et al; fixes ↵Stephen D. Huston2009-09-171-0/+9
| | | | | | QPID-2109 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816348 13f79535-47bb-0310-9956-ffa450edef68
* QMF ConsoleTed Ross2009-09-1716-1442/+1668
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816345 13f79535-47bb-0310-9956-ffa450edef68
* changed dispatch to throw an attribute error if there is no handlerRafael H. Schloming2009-09-171-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816222 13f79535-47bb-0310-9956-ffa450edef68
* added some empty, min, and max to RangedSetRafael H. Schloming2009-09-172-0/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816221 13f79535-47bb-0310-9956-ffa450edef68
* Update to QpidTestCase to only check for broker.stopped lines until we have ↵Martin Ritchie2009-09-173-3/+5
| | | | | | found the ready line. Added broker.stopped line to cpp.testprofile 'Exception constructed' this identifies port conflict issues. Local testing has shown that this works as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816150 13f79535-47bb-0310-9956-ffa450edef68
* backing out change r815804 -- didn't test with clustering turned on.Michael Goulish2009-09-1612-26/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815923 13f79535-47bb-0310-9956-ffa450edef68
* Path fix for recent checkin of Python changes.Michael Goulish2009-09-161-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815912 13f79535-47bb-0310-9956-ffa450edef68
* Pass 0 ppid property if os.getppid() not supported; fixes QPID-1676Stephen D. Huston2009-09-161-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815884 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid::sys::sleep() instead of naked sleep(); fixes build error on WindowsStephen D. Huston2009-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815876 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1612-13/+20
| | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815804 13f79535-47bb-0310-9956-ffa450edef68
* Fix line endingsAidan Skinner2009-09-161-35/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815771 13f79535-47bb-0310-9956-ffa450edef68
* add missing 'references' attrib to altExchangeNuno Santos2009-09-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815449 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-1522-323/+1004
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815416 13f79535-47bb-0310-9956-ffa450edef68
* Reveted changes to QPID-2099, QPID-2100. The value of PNAME must not be changed.Martin Ritchie2009-09-153-15/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815206 13f79535-47bb-0310-9956-ffa450edef68
* Reversed checkin of r.813825 until its problems can be resolvedKim van der Riet2009-09-1423-526/+411
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2099 : Updated QTC now that QPID_PNAME will wrap its value QTC doesn't ↵Martin Ritchie2009-09-141-1/+1
| | | | | | need to do it aswell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814670 13f79535-47bb-0310-9956-ffa450edef68
* Added available and pendingAck properties to Receiver; added capacity and ↵Gordon Sim2009-09-1425-149/+569
| | | | | | pending properties to Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2100 : Updated qpid.stop to use QPID_PNAME variable as the search. This ↵Martin Ritchie2009-09-141-4/+12
| | | | | | | | | | brings it in line with qpid-run. If QPID_PNAME is not set then it will fall back to QPID_STOP_SERVER so as to main backward compatibility. If neither are set then it will only use -DPNAME=" as the search. Thus allowing the value to have been changed and this script still to detect QPID processes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2099 : Updated qpid-run to use QPID_PNAME as the value for the system ↵Martin Ritchie2009-09-141-2/+2
| | | | | | | | property -DPNAME="". Ensured value is quoted to allow spaces in QPID_PNAME. i.e QPID_PNAME="Production Broker" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814544 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect file nameGordon Sim2009-09-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814539 13f79535-47bb-0310-9956-ffa450edef68
* Organized the tests to cover both allow and deny mode for particular caseRajith Muditha Attapattu2009-09-111-33/+259
| | | | | | | | Added more tests cases to exchange , particularly to cover QPID-2098 Fixed errors in test cases for queue acl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814077 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix from r.814021Kim van der Riet2009-09-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814043 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect test for quorum status.Alan Conway2009-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814021 13f79535-47bb-0310-9956-ffa450edef68
* Fix for signed-unsigned mismatch in testKim van der Riet2009-09-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@814020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update ManagementLoggingTest to cope with relative paths.Martin Ritchie2009-09-111-1/+1
| | | | | | Just check for the file name rather than the path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813856 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the followingRajith Muditha Attapattu2009-09-116-164/+327
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813850 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin with cctrieloff. Refactor of exchange routing so that ↵Kim van der Riet2009-09-1123-412/+537
| | | | | | multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2093: Updated AMQBRokerManagerMBean to check if the queue is durable ↵Martin Ritchie2009-09-116-348/+701
| | | | | | | | | | | before performing store.deleteQueue(). Created ModelTest to validate the change, (testDeletionDurableViaJMX). To facility the testing, extracted JMX Operations from ManagementActorLoggingTest to a new JMXTestUtils and updated both ModelTest and MALT to use this interface. Updated 010(cpp) and 08(Java-InVM) excludes as the CPP does not have JMX and the InVM JMX is unreliable (see QPID-2097) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813801 13f79535-47bb-0310-9956-ffa450edef68
* Add test customisation configuration to derby and acl configsMartin Ritchie2009-09-112-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2094 : Check if _output is null, if so write test configuration to ↵Martin Ritchie2009-09-111-1/+2
| | | | | | java.io.tmpdir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2095 : Update QTC to set the management.jmxport configuration property ↵Martin Ritchie2009-09-111-0/+2
| | | | | | on InVM test cases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2096 : Add a work around which stops durable exchanges being written to ↵Martin Ritchie2009-09-111-0/+12
| | | | | | the message store. This will allow current DerbyStores to start up but will mean that the existence of the exchange in the configuration is its durability. Remove it from the config and it is gone. This differs from the way queues work. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 : Corrected misspelling of SimpleMartin Ritchie2009-09-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 Move test configuration to systest package and update to provide ↵Martin Ritchie2009-09-1023-709/+375
| | | | | | | | | | | | | | | an more reliable way of adjusting the configuration form the test. In doing this it made sense to udpate the configurations such that they all inherit from the cannonical config.xml from the broker package. Each test now gets its own configuration file that is used to override the defaut values in config.xml. So the config is now a hierarchy of: - Test Specific - Systest adjustments - stock broker config.xml I have disabled the DerbyMessageStoreLoggingTest as after making this change it is more reliably throwing a Derby exception on broker startup. The other changes to the tests were to ensure they correctly save the Test Specific config file before loading. As for some reason, Commons Configuration is not abiding by the optional flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2091 : Updated ServerConfiguration and added test to ↵Martin Ritchie2009-09-104-175/+170
| | | | | | ServerConfigurationTest. Merged virtualhost.xml with config.xml git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813459 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong namespace placement in previous check inAndrew Stitcher2009-09-091-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813123 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086, hang of federated_cluster_test_with_node_failure.Alan Conway2009-09-091-1/+9
| | | | | | | cluster::Connection did not give read credit if there was an exception processing a frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813100 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-0993-971/+1423
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813094 13f79535-47bb-0310-9956-ffa450edef68
* Adjust to new location of state_saver in Boost 1.40; fixes QPID-2090Stephen D. Huston2009-09-091-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813092 13f79535-47bb-0310-9956-ffa450edef68
* Replace write lock with read lock in QueueRegistry::eachQueue.Alan Conway2009-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813079 13f79535-47bb-0310-9956-ffa450edef68
* ( mgoulish checking in changes for gsim )Michael Goulish2009-09-091-6/+10
| | | | | | | add ttl option for messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812995 13f79535-47bb-0310-9956-ffa450edef68