summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* NO_JIRA: Rolled back accidental checkin of experimental code in r.1202755 ↵Kim van der Riet2011-11-161-9/+6
| | | | | | (checkin from wrong dir) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1202760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3623, QPID-3624: Fixed transaction accounting, also replaced argparse ↵Kim van der Riet2011-11-161-6/+9
| | | | | | module with optparse module for use on earlier versions of Python than 2.7. Some minor code tidy-up was also included. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1202755 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added some error checking to ssl testAndrew Stitcher2011-11-151-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1202310 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/trunk/qpid@1199811 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Install test executables and scripts.Alan Conway2011-11-083-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199267 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add --no-delete option to qpid-cpp-benchmark and ↵Alan Conway2011-11-082-10/+14
| | | | | | | | | qpid-cluster-benchmark. Don't delete test queues between runs so that pre-configured queues can be used by the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199266 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Improvements to benchmark scripts.Alan Conway2011-11-082-63/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199265 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3586: Changes for QPID-3464 break cmake build in tar.gz distributionAndrew Stitcher2011-11-071-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/trunk/qpid@1198929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3564: enhance message group generator to allow queue fill/drain testsKenneth Anthony Giusti2011-11-043-31/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1197686 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1149571 13f79535-47bb-0310-9956-ffa450edef68