summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-153-1/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some of the missing standard message headers. Added two new ↵Gordon Sim2010-01-123-0/+428
| | | | | | 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/qpid@898296 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2297Rajith Muditha Attapattu2010-01-111-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2327 - Enhance qpid-config to deal with xml and headers brokersTed Ross2010-01-073-3/+148
| | | | | | | Committed patch from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897007 13f79535-47bb-0310-9956-ffa450edef68
* StoreStatus tests clean up temporary directory properly.Alan Conway2010-01-071-10/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896918 13f79535-47bb-0310-9956-ffa450edef68
* fix & test QPID-2320Carl C. Trieloff2010-01-061-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896687 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in cluster_tests.pyAlan Conway2010-01-061-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896542 13f79535-47bb-0310-9956-ffa450edef68
* Minor cluster test fixes.Alan Conway2010-01-062-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896540 13f79535-47bb-0310-9956-ffa450edef68
* Added config-seq counter to track config changes since cluster init.Alan Conway2010-01-062-5/+27
| | | | | | | | Config-seq is recorded persitently to help identify best store when recovering from total failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896538 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold up broker initialization for cluster initialization.Alan Conway2010-01-061-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896536 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/qpid@896535 13f79535-47bb-0310-9956-ffa450edef68
* 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