summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2935: merge latest trunkqpid-2935Kenneth Anthony Giusti2011-02-195-3/+170
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1072330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: Cluster flow control tests.Alan Conway2011-02-181-156/+89
| | | | | | | The tests check if send operations block when expected due to flow control and unblock as expected when messages are drained. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1072151 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile errors on RHEL5 - signed/unsigned comparison.Alan Conway2011-02-181-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1072026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: fix cmake build on linuxKenneth Anthony Giusti2011-02-182-135/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1072016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: refactor to use the new Queue Observer interface.Kenneth Anthony Giusti2011-02-171-15/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1071764 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: sync with latest trunkKenneth Anthony Giusti2011-02-177-25/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1071615 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: remove flow control parameters from qmf schema.Kenneth Anthony Giusti2011-02-161-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1071381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: Fix compile errors on RHEL5.Alan Conway2011-02-162-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1071377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: move completion from msg to session cmd context.Kenneth Anthony Giusti2011-02-165-2/+197
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1071360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: make flow control enabled by defaultKenneth Anthony Giusti2011-02-143-0/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1070515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: update cmake scriptsKenneth Anthony Giusti2011-02-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1068991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: modify flow accounting api per review input.Kenneth Anthony Giusti2011-02-081-47/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1068645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: resync with latest trunkKenneth Anthony Giusti2011-02-087-66/+802
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1068464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: add simple flow testsKenneth Anthony Giusti2011-02-043-2/+305
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1067220 13f79535-47bb-0310-9956-ffa450edef68
* pull in sequence set fixKenneth Anthony Giusti2011-02-041-0/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1067219 13f79535-47bb-0310-9956-ffa450edef68
* add mgmt configuration supportKenneth Anthony Giusti2011-01-311-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1065831 13f79535-47bb-0310-9956-ffa450edef68
* remove changes to QueuePolicy in lieu of QueueFlowLimitsKenneth Anthony Giusti2011-01-311-209/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1065724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: add per-queue flow limitsKenneth Anthony Giusti2011-01-312-0/+308
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1065700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: provide producer flow control api to QueuePolicyKenneth Anthony Giusti2011-01-241-0/+209
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1062986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2921: (partial) Async completion of message.transfer and execution.sync ↵Kenneth Anthony Giusti2011-01-242-3/+2
| | | | | | commands git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2935@1062965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007 Disabled cluster log verification tests, causing sporadic failures.Alan Conway2011-01-192-2/+5
| | | | | | The tests will be re-enabled when QPID-3007 is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982 Bug 669452 - Creating a route and using management tools can crash ↵Alan Conway2011-01-182-1/+42
| | | | | | | | | | | | cluster members. Cluster update did not include federation link and bridge objects. Fixed update to include them. Management linkUp and linkDown events were generated only on the broker receiving the link. Suppressed these events in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060568 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2997: remove oid disambiguation, re-order mgmt object status updates.Kenneth Anthony Giusti2011-01-181-13/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060401 13f79535-47bb-0310-9956-ffa450edef68
* Fixes QPID-2499: Stale federation routes remain after route deletion.Jonathan Robie2011-01-131-40/+33
| | | | | | | | | | | | | Federated binds and unbinds need to know which federation origins are associated with the bindings for each queue. When origins are added or deleted, the corresponding bindings need to be propagated. fedBindings[queueName] contains the origins associated with the given queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982: Fix discrepancy in management object and deleted object counts.Alan Conway2011-01-132-10/+13
| | | | | | | | | | | | | | | cluster_tests.test_management was showing discrepancy in management object and deleted object count after a new member update. In ManagementAgent.cpp, code to move deleted objects into pendingDeletedObjs was duplicated in 2 places. Moved duplicated code into a function moveDeletedObjectsLH() Call moveDeletedObjectsLH from clusterUpdate to correct discrepancy in object count around update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058664 13f79535-47bb-0310-9956-ffa450edef68
* qpid-test-cluster script: added -d option to delete data-directory.Alan Conway2011-01-121-15/+31
| | | | | | Also allow hosts to be specified on command line. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058287 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary sleeps.Michael Goulish2011-01-111-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057747 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster_test_logs.py to EXTRA_DIST for use by store tests.Alan Conway2011-01-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982: Improved cluster/management logging and automated test for log ↵Alan Conway2011-01-072-7/+119
| | | | | | | | | | | consistency. The cluster_tests.py test_management test is augmented to compare broker logs after the test completes. Any inconsistency in the logs causes the test to fail. This check is currently disabled as it is failing due to known issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056378 13f79535-47bb-0310-9956-ffa450edef68
* config.null line wasn't needed, and was messing up vpath builds.Michael Goulish2011-01-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056019 13f79535-47bb-0310-9956-ffa450edef68
* Allow command line utilities to require a given SASL mechanism.Jonathan Robie2010-12-211-0/+49
| | | | | | | | | | Useful if the client's most secure mechanism is suspect, e.g. if Kerberos configuration problems may exist. Also useful in a variety of test scenarios. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1051700 13f79535-47bb-0310-9956-ffa450edef68
* Change tmp directories from /tmp/sasl_fed/RANDOM to /tmp/sasl_fed_RANDOM.Michael Goulish2010-12-172-3/+3
| | | | | | | | | Otherwise, if user A runs these tests first, user B can't come along and run them later -- if he doesn't have write permission to the /tmp/sasl_fed directory which user A already created. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1050493 13f79535-47bb-0310-9956-ffa450edef68
* Made qpid-xxx management scripts callable as python functions.Jonathan Robie2010-12-171-18/+124
| | | | | | | | | | | | | | | | | | | | | Examples (from cli_tests.py): def qpid_config_api(self, arg = ""): script = import_script(checkenv("QPID_CONFIG_EXEC")) broker = ["-a", "localhost:"+str(self.broker.port)] return script.main(broker + arg.split()) def qpid_route_api(self, arg = ""): script = import_script(checkenv("QPID_ROUTE_EXEC")) return script.main(arg.split()) Useful primarily for qpid-config, qpid-route, and qpid-cluster. Probably not useful for qpid-stat, qpid-printevents, qpid-queue-stats, which just create screen output. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1050425 13f79535-47bb-0310-9956-ffa450edef68
* Include the new sasl_fed_ex test in EXTRA_DIST.Michael Goulish2010-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1050424 13f79535-47bb-0310-9956-ffa450edef68
* In broker::ConectionHandler, use the security settings, if any, Michael Goulish2010-12-162-1/+251
| | | | | | | | | | | provided by the transport layer when starting SASL. This allows the SASL mechanism EXTERNAL to be satisfied with SSL transport security. The test, sasl_fed_ex, uses this SASL/SSL security on a federated link between two brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1050162 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily raise the logging level for ↵Alan Conway2010-12-151-0/+2
| | | | | | cluster_tests.LongTests.test_management and test_management_qmf to debug a sporadic failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1049698 13f79535-47bb-0310-9956-ffa450edef68
* Fix flow control for qpid-cpp-benchmark with multiple senders.Alan Conway2010-12-153-17/+21
| | | | | | Ensure senders & receivers agree on number of messages sent/received. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1049656 13f79535-47bb-0310-9956-ffa450edef68
* Add end-to-end flow control to qpid-send, qpid-receive and qpid-cpp-benchmark.Alan Conway2010-12-143-9/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1049286 13f79535-47bb-0310-9956-ffa450edef68
* Modified qpid-cluster to support the way it is called from Jonathan Robie2010-12-101-1/+1
| | | | | | | | | | | | cluster_tests.StoreTests.test_persistent_partial_failure. Corrected test_persistent_partial_failure so that it no longer sends the name of the script as the first parameter - optparse expects this for arguments from sys.argv, but not for other argument lists. Fixed bug assigning host name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1044468 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2966: Disable test when python lib is not availableGordon Sim2010-12-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1044308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2966: Add QMF method to dynamically set the log level.Gordon Sim2010-12-105-2/+178
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1044248 13f79535-47bb-0310-9956-ffa450edef68
* fix signed vs unsigned compare errorsKenneth Anthony Giusti2010-12-031-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041835 13f79535-47bb-0310-9956-ffa450edef68
* add unit tests for cluster replication of deleted broker mgmt objectsKenneth Anthony Giusti2010-12-031-9/+362
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041817 13f79535-47bb-0310-9956-ffa450edef68
* fix distcheck build problem with broker mgmt unit testKenneth Anthony Giusti2010-12-021-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041424 13f79535-47bb-0310-9956-ffa450edef68
* revert nodist makefile change to fix bootstrap errorKenneth Anthony Giusti2010-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041386 13f79535-47bb-0310-9956-ffa450edef68
* enable broker mgmt agent test, fix distcheck errors.Kenneth Anthony Giusti2010-12-022-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041377 13f79535-47bb-0310-9956-ffa450edef68
* Modified cluster_tests causes broker shut down with invalid-argument error.Alan Conway2010-12-011-2/+5
| | | | | | | | | | Described in https://bugzilla.redhat.com/show_bug.cgi?id=655078. The management agent's deleted-object list was not being replicated to new members joining the cluster, so management generated fewer deleted object notifications on the newer member, causing it to fail with an invalid-argument error. The list is now being replicated correctly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041181 13f79535-47bb-0310-9956-ffa450edef68
* Enable cluster-safe assertions on transition to CATCHUPAlan Conway2010-12-011-2/+2
| | | | | | | | | Delaying until READY was causing multiple clientConnect management events to be raised, because broker::Connection::setUserId relies on sys::isCluster to avoid producing duplicate events with cluster::Connection::announce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041179 13f79535-47bb-0310-9956-ffa450edef68
* Add a unit_test fixture for the Brokers internal management agent.Kenneth Anthony Giusti2010-12-017-6/+408
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041150 13f79535-47bb-0310-9956-ffa450edef68
* Binds integer, floating point, or string-typed headers using appropriate ↵Jonathan Robie2010-11-261-2/+72
| | | | | | datatypes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1039478 13f79535-47bb-0310-9956-ffa450edef68