summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename tests qpid_* to qpid-* for consistency.Alan Conway2010-06-141-17/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954471 13f79535-47bb-0310-9956-ffa450edef68
* Fix ordering problem with of dependencies of make check.Alan Conway2010-06-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953839 13f79535-47bb-0310-9956-ffa450edef68
* Fixed conflicting clean-local targets, causing make distcheck to fail.Alan Conway2010-05-281-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949231 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheck: clean sasl_config test files.Alan Conway2010-05-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949201 13f79535-47bb-0310-9956-ffa450edef68
* Add missing sasl_test_setup.sh to EXTRA_DISTAlan Conway2010-05-281-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949191 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: authentication with bad credentials causes cluster broker to exit.Alan Conway2010-05-271-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@948969 13f79535-47bb-0310-9956-ffa450edef68
* Fix problems with cluster_authentication_soak test in VPATH build.Alan Conway2010-05-271-9/+4
| | | | | | | | | - Fix SASL version testing logic in cluster_authentication_soak and SaslAuthenticator - Generate all SASL config in the build directory in sasl_test_setup.sh - Compile cluster_authentication_soak only if SASL is available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@948968 13f79535-47bb-0310-9956-ffa450edef68
* Jira QPID-2617 -- make sasl-based tests config files relocatableMichael Goulish2010-05-241-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, sasl-based testing cannot be fully automated because the sasl db must be located in the standard installation location of /etc/sasl2. * Created a new directory "sasl_config" under cpp/src/tests * added a new makefile fragment "sasl.mk" to cpp/src/Makefile.am conditionally included basedon HAVE_SASL, which is defined by configure. ( NOTE: should be in cpp/src/tests/Makefile.am, but getting an "saslpasswd2: generic failure" when I try that. ) * The sasl.mk fragment uses saslpasswd2 to create a sasl db in cpp/src/tests/sasl_config that defines two users with eponymous passwords. * In test cluster_authentication_soak.cpp, make the cluster name random. * make SaslAuthenticator code accept and use a config path * give cluster_authentication_soak self-test capability. the test is meant to detect two problems: - broker failure - perftest hang so give it flags that will force either of those conditions. This allows me to (anually) ensure that the test really does detect those conditions when they occur. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947748 13f79535-47bb-0310-9956-ffa450edef68
* Changed the names of tests which are installed in /usr/bin/ to be prefixed ↵Kim van der Riet2010-05-241-30/+30
| | | | | | with "qpid-". This will make these generic names easier to associate with qpid. (BZ577353) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: separate out the messaging API into its own libraryGordon Sim2010-05-141-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944357 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to non-existent test run_cluster_authentication_soakAlan Conway2010-05-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944288 13f79535-47bb-0310-9956-ffa450edef68
* Initial multi-thread unit test for messaging API.Alan Conway2010-05-141-0/+2
| | | | | | | - added Receiver::isClosed() to test for local close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944261 13f79535-47bb-0310-9956-ffa450edef68
* Cluster + SecurityMichael Goulish2010-05-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------- * initial observation of a problem was a 2% failure rate in perftests of 20,000 messages against a cluster with security enabled. Problem was occasional receit of encrypted frames before the security codec had been enabled. This is fixed with locking in cluster code (no new locks in broker code) and a callback that is fired by broker::ConnectionHandler::Handler to tell the cluster code when the opening handshake has finished. This was never a problem in the non-clustered broker before because everything happened in a single thread. * the brokers that "shadow" the connection must not have null authenticators rather than real ones, so that they go through all the motions but don't do anythig. Only the directly-connected broker can perform the security handshake. * once the directly-connected broker receives the real user ID from its callback, it mcasts that ID to all other brokers. Otherwise the shadowing brokers will al think that the user ID is "anonymous". Check this by doing a substantial perftest, and using qpid-stat -c localhost:PORT to confirm that the brokers all have the same userID for the same connection. * the user ID, negotiated during the Sasl security startup, is communicated from the directly connected broker to all other cluster brokers. * If security is *not* being used, then this code should *not* tell the brokers anything about the userID -- or it will step on the value that is being set by other code pathways. * test program at cpp/src/tests/cluster_authentication_soak is not yet fully automated -- run it with something like "sudo ./cluster_authentication_soak 500" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944158 13f79535-47bb-0310-9956-ffa450edef68
* Correct brokertest.retry logic.Alan Conway2010-05-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@941852 13f79535-47bb-0310-9956-ffa450edef68
* Added throughput reporting to sender.cpp.Alan Conway2010-04-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934986 13f79535-47bb-0310-9956-ffa450edef68
* Renamed qpid_recv to qpid_receive.Alan Conway2010-04-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931991 13f79535-47bb-0310-9956-ffa450edef68
* Add Statistics.h/.cpp to Makefile.am and CMakeLists.txt.Alan Conway2010-04-071-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931692 13f79535-47bb-0310-9956-ffa450edef68
* Extend qpid_send, qpid_recv to measure throughput and latency.Alan Conway2010-04-071-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931657 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-3/+3
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929716 13f79535-47bb-0310-9956-ffa450edef68
* Remove tests/testagent sub-directory, build testagent in the tests directory.Alan Conway2010-03-091-2/+2
| | | | | | | Resolves build-order issues, more consistent with the rest of the test builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@920991 13f79535-47bb-0310-9956-ffa450edef68
* Added tests/testagent, a simple QMF agent for use in tests.Alan Conway2010-03-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918673 13f79535-47bb-0310-9956-ffa450edef68
* Configure boost tests to create core dumps.Alan Conway2010-02-251-1/+0
| | | | | | | By default they don't, added BOOST_TEST_CATCH_SYSTEM_ERRORS=no to test_env.sh git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916474 13f79535-47bb-0310-9956-ffa450edef68
* more futzing with setup.py; pulled specs into python/qpid packageRafael H. Schloming2010-02-151-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910165 13f79535-47bb-0310-9956-ffa450edef68
* use python/setup.py instead of python/MakefileRafael H. Schloming2010-02-151-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910159 13f79535-47bb-0310-9956-ffa450edef68
* Add Windows Powershell scripts needed for test suite to run on Windows to ↵Stephen D. Huston2010-02-051-4/+14
| | | | | | EXTRA_DIST so they get included in releases. Resolves QPID-2392. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@907101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some of the missing standard message headers. Added two new ↵Gordon Sim2010-01-121-0/+14
| | | | | | test utilities for sending and receiving with the new API (both still works in progress). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@898296 13f79535-47bb-0310-9956-ffa450edef68
* Install useful tests.Alan Conway2010-01-061-20/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@896535 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2289: Fixed copy constructor in qpid::messaging::Message, added in ↵Gordon Sim2009-12-171-1/+2
| | | | | | equality operator for qpid::messaging::Variant git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@891636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2227 C++ "make dist" is missing cluster.cmake and has unneeded test_env.shAndrew Stitcher2009-12-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@886779 13f79535-47bb-0310-9956-ffa450edef68
* Clean up test environment variables, prepare for running more tests in cmake.Alan Conway2009-11-301-6/+1
| | | | | | | | | - consolidate test env vars in test_env.sh, also useful from command line. - generate test_env.sh with autoconf/cmake to cover library location differences. - Remove explicit mention of .libs, use $QPID_MODULE_DIR to load modules. - Fix run_test to run valgrind under cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@885557 13f79535-47bb-0310-9956-ffa450edef68
* Fix autotool dependency on installed libtool for running "make check"Andrew Stitcher2009-11-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@885339 13f79535-47bb-0310-9956-ffa450edef68
* Added test_env.sh script to distributed file listGordon Sim2009-11-201-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882433 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Visual Studio solution/project files, as these are now generated ↵Stephen D. Huston2009-11-201-18/+3
| | | | | | by CMake. Added CMakeLists.txt files to Makefile.am, and all other needed support files so that the 'make dist' supplies all needed items for building a release kit on Windows. Fixes QPID-2134 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882373 13f79535-47bb-0310-9956-ffa450edef68
* Added support for address parsing, create/assert/delete policiesGordon Sim2009-11-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834869 13f79535-47bb-0310-9956-ffa450edef68
* Clean up files left behind by tests in make clean.Alan Conway2009-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832852 13f79535-47bb-0310-9956-ffa450edef68
* Fix dependencies so python client used by tests is built before tests.Alan Conway2009-09-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819994 13f79535-47bb-0310-9956-ffa450edef68
* Fix python tests to work in VPATH builds and for make distcheck.Alan Conway2009-09-281-23/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819738 13f79535-47bb-0310-9956-ffa450edef68
* Fix to allow python testing stuff to build outside source treeAndrew Stitcher2009-09-231-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818246 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-231-0/+7
| | | | | | | | | | | | | | | | 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@818020 13f79535-47bb-0310-9956-ffa450edef68
* Rolling back my recent change 816715. These script changes don't work with ↵Michael Goulish2009-09-181-8/+0
| | | | | | 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-181-0/+8
| | | | | | | | | | | | | | | | 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
* backing out change r815804 -- didn't test with clustering turned on.Michael Goulish2009-09-161-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815923 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-161-0/+7
| | | | | | | | | | | | | | | 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
* QPID-664: Added automatic reconnection logic.Gordon Sim2009-09-071-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Initial checkin of high level messaging api for c++Gordon Sim2009-08-251-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@807731 13f79535-47bb-0310-9956-ffa450edef68
* Reinstate reliable_replication_testAndrew Stitcher2009-08-111-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802993 13f79535-47bb-0310-9956-ffa450edef68
* qrsh initial checkin.Michael Goulish2009-08-031-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@800481 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in cluster error handling.Alan Conway2009-07-311-1/+1
| | | | | | | | | If different errors occured almost simultaneously on two different nodes in a cluster, there was a race condition that could cause the cluster to hang. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799687 13f79535-47bb-0310-9956-ffa450edef68
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-271-1/+19
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@798291 13f79535-47bb-0310-9956-ffa450edef68
* Update queue listeners in the correct order.Alan Conway2009-07-161-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@794736 13f79535-47bb-0310-9956-ffa450edef68