summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3579: Moved qpid-analyze-trace to cpp/src/tools to address concerns ↵Kim van der Riet2011-11-171-0/+258
| | | | | | about tool placement, code maturity etc. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3586: Changes for QPID-3464 break cmake build in tar.gz distributionAndrew Stitcher2011-11-091-2/+5
| | | | | | | - The previous fix for this problem broke the autotools build, so remove the StoreStatus cluster test again from the autotools build. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1199809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3586: Changes for QPID-3464 break cmake build in tar.gz distributionAndrew Stitcher2011-11-081-8/+10
| | | | | | | | | | - Added in the new CMake files to EXTRA_DIST in the Makefile.am files so that they get built into the tarballs - Added some cluster test files back into the .../tests/cluster.mk file as they seem to have been dropped by mistake (and having them missing also breaks the cmake build in a similar way) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1199451 13f79535-47bb-0310-9956-ffa450edef68
* Give the broker more time to start; has been timing out lately. NO-JIRA.Stephen D. Huston2011-11-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3572: Make dependance on bashisms explicitGordon Sim2011-11-0231-33/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3573: handle case where /home/gordon does not existGordon Sim2011-11-021-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non SSL connections on the same port.Andrew Stitcher2011-11-011-29/+80
| | | | | | | | | - Fixes to allow tcp to report the correct port so that the correct name gets used for the pidfile - Improved the ssl tests: refactoring them, and adding a new test for broker chosen ssl muxed ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: fix tests to detect if tools are present.Kenneth Anthony Giusti2011-10-212-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non-SSL connections on the same port. Applied patch ↵Gordon Sim2011-10-201-10/+20
| | | | | | from Zane Bitter and added simple test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3550: qpid-perftest fails if --npubs < --nsubs and --iterations > 0. ↵Kim van der Riet2011-10-191-5/+5
| | | | | | Fixed the number of next messages sent to the sub_iteration queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1186215 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a couple of problems with "make dist".Ted Ross2011-10-171-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1185293 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Removed tabs from sourceTed Ross2011-10-141-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-141-1/+3
| | | | | | | | | | | | | In RefCountedBuffer: 1. Pad the instantiantion address of RefCountedBuffer class up to an 8-byte boundary. 2. Add (void *) casts to 'store' pointer to prevent warnings about alignment. In qpid-perftest: 1. Don't pull a size_t object from an arbitrary buffer address. Instead, memcopy the object by bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3528Michael Goulish2011-10-132-2/+221
| | | | | | | | | | | | sasl_set_path() does no check on the given directory, so when you get bad behavior later it can be hard to track down. Especially bad is its policy of defaulting to an alternate standard location if yours fails. That's a potential security bug. So this patch checks that your dir exists, and is readable, before calling sasl_set_path(). Either you get the sasl config dir you were expecting, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-124-2/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-121-5/+8
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove un-used and incorrect tests from cluster_tests.pyAlan Conway2011-10-121-86/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-121-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-078-27/+1224
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1180050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3508: Ensure subscription queue is deleted on closing receiver (unless ↵Gordon Sim2011-09-271-0/+18
| | | | | | it has explicitly been configured non-exclusive) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1176363 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA - fix PYTHONPATH to pick up qmf and enable to store recovery tests ↵Stephen D. Huston2011-09-171-1/+1
| | | | | | to run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1172143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3484 - QMF Main-Loop IntegrationTed Ross2011-09-131-1/+103
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1170314 13f79535-47bb-0310-9956-ffa450edef68
* Bug 730017, QPID-3475: Cluster authentication ignores cluster-* settings.Alan Conway2011-09-071-0/+115
| | | | | | | | | When a broker joins a cluster, it should be authenticated authenticate using the options --cluster-username, --cluster-password and --cluster-mechanism. The broker was ignoring the settings and joining the cluster even if an invalid user or password are supplied. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166279 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Restrict the allowed mechanisms, primarily to prevent GSSAPI being ↵Gordon Sim2011-09-071-0/+1
| | | | | | picked as it is most likely not configured correctly for these tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166176 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Get more information from failed assertionsGordon Sim2011-09-071-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1166172 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix minor FIXME in brokertest.pyAlan Conway2011-09-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164249 13f79535-47bb-0310-9956-ffa450edef68
* Bug 727182, QPID-3384 - Support DTX transactions - test for set-dtx-timeoutAlan Conway2011-09-011-5/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - additional transaction tests.Alan Conway2011-09-011-18/+30
| | | | | | - Update suspended & ended transactions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1164246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - replicate suspended transactions.Alan Conway2011-08-302-33/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1163347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: Enable DTX transactions in a cluster.Alan Conway2011-08-253-33/+203
| | | | | | | | - Replicate DTX state to new members joining. - Use cluster timer for DTX timeouts. - Incidental: quote nulls in qpid::Msg messages (XIDs often have null characters) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161742 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix test failure if PORT is already set in the environment.Alan Conway2011-08-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159324 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: eliminate SocketProxy from tests.Alan Conway2011-08-189-253/+28
| | | | | | | | | Was causing problems with changes to introduce IPv6. In most cases this was being used unnecessarilly due to cut-and-paste of tests. In the 2 cases it was useful, replaced by simply shutting down the broker to simulate network failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3425: Special handling of reserved exchange names in auto-createGordon Sim2011-08-161-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1158370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: Added simple C++ system tests for IPv6:Andrew Stitcher2011-08-123-1/+159
| | | | | | | | | - short perftest run which connects to ::1 (old client API) - qpid-send/qpid-receive sending messages between them (new messaging API) - Simple 2 broker federation over IPv6 test - Simple cluster failover via IPv6 test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: Implemented simple IPv6 literal parsing/printing for c++ ↵Andrew Stitcher2011-08-121-0/+26
| | | | | | connection URLs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: IPv6 support for Unix C++ ports:Andrew Stitcher2011-08-121-0/+1
| | | | | | | | | | | | - On the Listen side we create separate listening sockets for IPv4 and IPv6 making sure to not allow the IPv6 socket to run dual stack. This makes the reported IPv4 addresses look "normal" and would allow us to turn control IPv4/IPv6 listening separately. - On the connect side we make sure to try all the addresses returned by getaddrinfo() in order until we either find one that connects or have tried all of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157272 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed obsolete federation test to carry on workingAndrew Stitcher2011-08-091-14/+13
| | | | | | - probably should be removed instead git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3363: prevent bind/unbind on default exchangeGordon Sim2011-08-091-281/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1155545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Building QPID with Visual Studio 2010Charles E. Rolke2011-08-042-5/+5
| | | | | | | | | | | | | | | | | | This patch changes: List.h - add a typedef from the original post IntegerTypes.h - adds 'signed' to int_8 to avoid MSVC complaint SessionState.cpp, qpid-perftest.cpp - adds explicit boost:: to disambiguate methods recently defined by 'using std'. CMakeLists.txt - Adds a CMake option that allows user to include '#define _WIN32_WINNT=0x0502' or not. Linux users see no change. This replaces CMake code that includes a similar definition when the build system _has VS2005 installed_. Even if the Generator is VS2010 the def was added because VS2005 is installed. This in not right. Without this definition several components define _WIN32_WINNT=0x0501 to target network and system api components. Those components will still work correctly with 0x0502. Defining _WIN32_WINNT=0x0501 across the board causes a build error in cpp\qpid\store that 0x0502 avoids. This patch will move the minimum required version of Windows from WinXP to WinXP-SP3. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153993 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Minor improvements to test scripts.Alan Conway2011-08-022-2/+5
| | | | | | | | allhosts: added -X option for running X clients. qpid-cpp-benchmark: accept comma or space-separated lists for --client-host and --broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1153256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3383: Changed to explicit credit management for control subscription in ↵Gordon Sim2011-08-011-2/+3
| | | | | | publishers to prevent incorrect allocation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1152825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3372: fixed comparison of desired and actual properties for exchangesGordon Sim2011-07-261-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1151154 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix trunk break, "except Exception as e" syntax is invalid in ↵Alan Conway2011-07-221-2/+2
| | | | | | python 2.4 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149733 13f79535-47bb-0310-9956-ffa450edef68
* Corrected qpid-client-test's name when setting up the test script. NO-JIRAStephen D. Huston2011-07-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1149571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-702656 Patch from Gordon Sim plus tests which detect the condition ↵Kim van der Riet2011-07-198-40/+2340
| | | | | | being solved. Added a make check-long target to the Makefile in the cpp dir to make it easier to run the long tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1148503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352 - Federation bridge doesn't recover from session errorsTed Ross2011-07-122-1/+58
| | | | | | | Applied patch from Jason Dillaman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1145706 13f79535-47bb-0310-9956-ffa450edef68
* JIRA 3337Michael Goulish2011-07-061-2/+2
| | | | | | | | | | | no more defaulting to guest/guest username/password qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it. but a local qpidd.sasldb is (before this change) being created for 'make check' testing. The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3330: Corrected handling of empty strings (using patch from Anthony ↵Gordon Sim2011-07-011-0/+11
| | | | | | Foglia) and added test case git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3329: Configure C++ client connections to replace url-addresses rather ↵Alan Conway2011-06-302-9/+13
| | | | | | than merging new addresses with old git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141493 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add reconnect-timeout to test clients to prevent client hangs.Alan Conway2011-06-272-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140179 13f79535-47bb-0310-9956-ffa450edef68