summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2296: Cluster errors when using acquire-mode-not-acquiredAlan Conway2009-12-221-0/+37
| | | | | | | Replicate consumer's queue position to new cluster nodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@893175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2289: Fixed copy constructor in qpid::messaging::Message, added in ↵Gordon Sim2009-12-174-1/+65
| | | | | | equality operator for qpid::messaging::Variant git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2282: test_watchdog failing due to incorrect use of env. varsAlan Conway2009-12-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891395 13f79535-47bb-0310-9956-ffa450edef68
* test_watchdog: trivial test fix, check exit status of qpidd.Alan Conway2009-12-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1951: Removed need for Windows versions of ssize_t and pid_tAndrew Stitcher2009-12-151-2/+2
| | | | | | | | - Trivially removed Windows uses of ssize_t - Rearchitected how the Windows port finds an existing qpidd to stop it - Split Posix Lockfile functionality using pids into a new PidFile class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2266: error sending update: Enqueue capacity threshold exceededAlan Conway2009-12-112-5/+60
| | | | | | | | | Fix for the problem with a test to verify that messages going to the store have the same headers and content-size for an updatee or a broker that receives the publish directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2236: cmake link error, missing boost.system library.Alan Conway2009-12-101-1/+1
| | | | | | | Tested on boost-1.37.0-7.fc11.x86_64 which has the system library and boost-1.33.1-10.el5 which does not. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889358 13f79535-47bb-0310-9956-ffa450edef68
* Set up python test list correctly and get the correct exit code from a test ↵Stephen D. Huston2009-12-092-2/+3
| | | | | | process; resolves QPID-2252 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888670 13f79535-47bb-0310-9956-ffa450edef68
* Correct typo in diagnostic message.Stephen D. Huston2009-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888656 13f79535-47bb-0310-9956-ffa450edef68
* Fix build errors in test_store; resolves QPID-2229Stephen D. Huston2009-12-042-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887038 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/qpid@886779 13f79535-47bb-0310-9956-ffa450edef68
* Run cluster tests under cmake.Alan Conway2009-12-0220-83/+181
| | | | | | | | | | Various other test fixes. - Env vars to abstract different library location under cmake/automake. - More consistent use of env vars test_env.sh in test scripts. - Fix replication/replicating_exchange mismatch. - Add --no-module-dir to prevent accidentally loading modules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886259 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem with make distcheck - python tests not being skipped when python ↵Alan Conway2009-12-012-16/+11
| | | | | | absent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885759 13f79535-47bb-0310-9956-ffa450edef68
* Remove env setting causing problems with failover-soak.Alan Conway2009-11-301-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885591 13f79535-47bb-0310-9956-ffa450edef68
* Clean up test environment variables, prepare for running more tests in cmake.Alan Conway2009-11-3027-159/+162
| | | | | | | | | - 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/qpid@885557 13f79535-47bb-0310-9956-ffa450edef68
* Fix autotool dependency on installed libtool for running "make check"Andrew Stitcher2009-11-302-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885339 13f79535-47bb-0310-9956-ffa450edef68
* Cluster consistency: check for no clean store condition.Alan Conway2009-11-261-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884612 13f79535-47bb-0310-9956-ffa450edef68
* Consistency checks for persistent cluster startup.Alan Conway2009-11-251-14/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884226 13f79535-47bb-0310-9956-ffa450edef68
* Verify stored cluster-id matches agreed cluster-id when joining a persistent ↵Alan Conway2009-11-243-25/+34
| | | | | | cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883910 13f79535-47bb-0310-9956-ffa450edef68
* Added flow control to failover_test in cluster_tests.py.Alan Conway2009-11-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883909 13f79535-47bb-0310-9956-ffa450edef68
* Support for restarting a persistent cluster.Alan Conway2009-11-246-59/+241
| | | | | | | | | | | Option --cluster-size=N: members wait for N members before recovering store. Stores marked as clean/dirty. Automatically recover from clean store on restart. Stores marked with UUID to detect errors. Not yet implemented: consistency checks, manual recovery from all dirty stores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Allow session to be specified as transactional; add basic test of ↵Gordon Sim2009-11-231-0/+27
| | | | | | transaction implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883325 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Added getStoreDir() to MessageStore"Alan Conway2009-11-201-2/+0
| | | | | | | | | | | This reverts revision 882218 which broke the Windows. It also assumes that a MessageStore has an associated directory, which is not the case for all stores. We need a portable way to associate extra state with a store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882623 13f79535-47bb-0310-9956-ffa450edef68
* Changes to hopefully address a sporadic test failure. Couldn't reproduce so ↵Alan Conway2009-11-201-8/+5
| | | | | | not sure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882598 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in the test: wait for both brokers to be ready before killing one.Alan Conway2009-11-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882587 13f79535-47bb-0310-9956-ffa450edef68
* Fix distcheck failure: don't try to run python tests if python not available.Alan Conway2009-11-201-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882573 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/qpid@882433 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Visual Studio solution/project files, as these are now generated ↵Stephen D. Huston2009-11-2018-7305/+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/qpid@882373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Bring address option names in to line with those used in python ↵Gordon Sim2009-11-191-11/+11
| | | | | | client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Refine address resolution; if type not specified, default to queue ↵Gordon Sim2009-11-191-0/+2
| | | | | | as per python client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882323 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up test environment script.Alan Conway2009-11-192-18/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882306 13f79535-47bb-0310-9956-ffa450edef68
* Added getStoreDir() to MessageStoreAlan Conway2009-11-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882218 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster option --cluster-size.Alan Conway2009-11-183-16/+64
| | | | | | | | --cluster-size=N means that during start-up the cluster waits to have N members before accepting any clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881839 13f79535-47bb-0310-9956-ffa450edef68
* Silence expected warning from cluster tests.Alan Conway2009-11-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881807 13f79535-47bb-0310-9956-ffa450edef68
* Integrated InitialStatusMap into cluster code.Alan Conway2009-11-172-12/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881423 13f79535-47bb-0310-9956-ffa450edef68
* cluster::InitialStatusMap and unit tests, support for improved cluster join ↵Alan Conway2009-11-174-9/+156
| | | | | | protocol. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881420 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add accessors for connection from session, and for session from ↵Gordon Sim2009-11-171-1/+14
| | | | | | sender/receiver. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Allow application to set session name and retrieve session using ↵Gordon Sim2009-11-171-1/+13
| | | | | | that name; close all sessions when connection is closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881394 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Cancel all senders and receivers on closing session; check ↵Gordon Sim2009-11-171-4/+0
| | | | | | queue/exchange exists before deleting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added getReceiver()/getSender() methods to session in new api.Gordon Sim2009-11-171-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881236 13f79535-47bb-0310-9956-ffa450edef68
* Use portable sleep callStephen D. Huston2009-11-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Remove start()/stop() methods from apiGordon Sim2009-11-161-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880863 13f79535-47bb-0310-9956-ffa450edef68
* Added extra test for quoating in name or subject parts of address.Gordon Sim2009-11-161-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880836 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Introduce ';' as delimiter bewteen name (and optionally subject) ↵Gordon Sim2009-11-162-18/+18
| | | | | | and the options map in address syntax. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880819 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-161-57/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880718 13f79535-47bb-0310-9956-ffa450edef68
* changed address syntax to permit more complex subjects, added escaping, ↵Rafael H. Schloming2009-11-131-2/+2
| | | | | | improved error reporting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
* Make failover_soak and its children adjustable as to Michael Goulish2009-11-135-101/+200
| | | | | | | | | | | | | | | | | | the number of brokers in the cluster, and the number of queues talking through the cluster during the test. resuming_receiver.cpp and replaying_sender.cpp now take command line args to control the queue name. If more than 1 queue is desired, failover_soak.cpp will start up N queue, each with its own sender and receiver. Queue names are now made unique with the failover_soak PID as part of their name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835746 13f79535-47bb-0310-9956-ffa450edef68
* Made cluster_tests.py ClusterTests.test_failover configurable to run for any ↵Alan Conway2009-11-121-20/+9
| | | | | | | | length of time. Also incorporated error generators to give a good stress test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835547 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-121-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835323 13f79535-47bb-0310-9956-ffa450edef68
* Added full SASL authentication and security layer for the Python client.Ted Ross2009-11-111-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834975 13f79535-47bb-0310-9956-ffa450edef68