summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1974: Fixes (and tests) for updating lvq state to new cluster members.Gordon Sim2009-07-081-2/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792103 13f79535-47bb-0310-9956-ffa450edef68
* Added python long cluster test outline for long tests and soak tests. Also ↵Kim van der Riet2009-07-075-7/+90
| | | | | | added check for python tools before tests to stop make distcheck failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791945 13f79535-47bb-0310-9956-ffa450edef68
* Add expected failure case to the list (purge is currently disabled on ↵Gordon Sim2009-07-071-0/+1
| | | | | | cluster as it is unsafe) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791910 13f79535-47bb-0310-9956-ffa450edef68
* More tests and completion of fix for 791672Carl C. Trieloff2009-07-071-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791858 13f79535-47bb-0310-9956-ffa450edef68
* Corrected the case where message on more than one queue does not persist ↵Carl C. Trieloff2009-07-071-1/+32
| | | | | | when last node standing is enabled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791672 13f79535-47bb-0310-9956-ffa450edef68
* Don't try to unset MEMORYCHECK_COMMAND - jut leave it if not neededStephen D. Huston2009-07-021-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790736 13f79535-47bb-0310-9956-ffa450edef68
* Enabled tests, corrected Boost lib locatorsStephen D. Huston2009-07-011-22/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790216 13f79535-47bb-0310-9956-ffa450edef68
* Fix for cluster_test problems: a) When not started from within test dir, ↵Kim van der Riet2009-07-015-203/+226
| | | | | | qpidd is not found, and a process cascade results in which each forked process continues and runs all tests after its own instead of terminating; b) Hard-coded paths and names of libs, which have been moved into Makefile.am; c) Some tests use ScopedSuppressLogging, these tests are modified so the scope of the logging suppression does not include the broker/cluster startup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790215 13f79535-47bb-0310-9956-ffa450edef68
* Fix members joining cluster while cluster is handling client errors.Alan Conway2009-07-011-2/+3
| | | | | | | | | | | Previously cluster members could abort if a new member joins while existing members are handling a client error. Now if an update offer arrives while an error is in progress, the offering broker retracts the offer and the newcomer must try again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790163 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster race condition with connections closed by broker while in use.Alan Conway2009-06-303-8/+17
| | | | | | | | | | | | | | | | If a client is using a connection that is closed at the broker end because of an error, there is a race condition that allows the connection to be incorrectly re-created on replica brokers which can cause those brokers to exit with an error that does not occur on the directly connected broker. The fix: explicitly announce new connections, shadow connections are no longer implicitly created on first use. Make error-check a cluster control so it can be handled independently of the lifecycle of the connection where an error initially occured. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789947 13f79535-47bb-0310-9956-ffa450edef68
* Add some ring queue tests to make check-long (fix script to use QPID_PORT ↵Gordon Sim2009-06-303-6/+44
| | | | | | | | | correctly) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789671 13f79535-47bb-0310-9956-ffa450edef68
* Minor test env name cleanup which syncs with changes to storeKim van der Riet2009-06-292-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789369 13f79535-47bb-0310-9956-ffa450edef68
* Backout last change to test scriptGordon Sim2009-06-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789354 13f79535-47bb-0310-9956-ffa450edef68
* Have receivers in test ignore duplicates (makes it possible to recover from ↵Gordon Sim2009-06-291-1/+1
| | | | | | certain failure scenarios) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789322 13f79535-47bb-0310-9956-ffa450edef68
* Added extra test script for testing ring queues plus a random data ↵Gordon Sim2009-06-293-0/+274
| | | | | | generation utility. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@789317 13f79535-47bb-0310-9956-ffa450edef68
* In isInline() don't try to take address of a vector w/o storage yet; fixes ↵Stephen D. Huston2009-06-261-0/+4
| | | | | | QPID-1960 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788893 13f79535-47bb-0310-9956-ffa450edef68
* Take dirpath off of plugin name to load; fixes QPID-1959Stephen D. Huston2009-06-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788890 13f79535-47bb-0310-9956-ffa450edef68
* Export callMe on Windows; fixes QPID-1958Stephen D. Huston2009-06-261-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788889 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid_ping: a simple client to verify broker responsiveness.Alan Conway2009-06-252-0/+120
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788353 13f79535-47bb-0310-9956-ffa450edef68
* Fix to perftest to make sure that all threads are joined even if thereAndrew Stitcher2009-06-231-27/+23
| | | | | | | is an exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787816 13f79535-47bb-0310-9956-ffa450edef68
* Renamed new directory to avoid clashing with executable name where build is ↵Gordon Sim2009-06-236-0/+0
| | | | | | done in source tree. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787618 13f79535-47bb-0310-9956-ffa450edef68
* Script fixes to get tests going on Windows; includes properly licensed ↵Stephen D. Huston2009-06-223-26/+51
| | | | | | background.ps1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787431 13f79535-47bb-0310-9956-ffa450edef68
* Test script to run distributed perftest against a cluster.Alan Conway2009-06-226-0/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787415 13f79535-47bb-0310-9956-ffa450edef68
* Handle invalid AMPQ data to a cluster by closing the offending connection.Alan Conway2009-06-171-2/+42
| | | | | | | Prior to this fix, invalid data shut down the whole cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785788 13f79535-47bb-0310-9956-ffa450edef68
* Drop _EXPECTED_FAILURES macro, doesn't work with all boost versions.Alan Conway2009-06-173-28/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785601 13f79535-47bb-0310-9956-ffa450edef68
* Change to test directory names for installed testsKim van der Riet2009-06-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783874 13f79535-47bb-0310-9956-ffa450edef68
* Updates to python cluster tests and associated scriptsKim van der Riet2009-06-105-29/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783451 13f79535-47bb-0310-9956-ffa450edef68
* Enhanced test sender to allow the lvq match keys used to be specified in a file.Gordon Sim2009-06-091-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782978 13f79535-47bb-0310-9956-ffa450edef68
* If expiration is already set, don't alter it.Gordon Sim2009-06-081-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782712 13f79535-47bb-0310-9956-ffa450edef68
* Further fix to new cluster member state transfer to fix a case where unacked ↵Gordon Sim2009-06-052-20/+68
| | | | | | messages on ring policy queue cause inconsistencies in queue state between nodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782075 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Michael Goulish - QPID-1891 "fix declaration problems with boost ↵Kim van der Riet2009-06-052-5/+7
| | | | | | 1_33_1", but with minor additional fixes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782051 13f79535-47bb-0310-9956-ffa450edef68
* Made the test_store lib installable to be used with installable testsKim van der Riet2009-06-041-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781732 13f79535-47bb-0310-9956-ffa450edef68
* Initial capabilities to run test suite on WindowsStephen D. Huston2009-06-0310-30/+491
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781525 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ring queue behaves as expected when replicated to newly joined ↵Gordon Sim2009-06-031-1/+78
| | | | | | | | | | cluster node. Altered queueDurabilityPropagationToNewbie test to not use in-process broker to fix error caused by linking change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781454 13f79535-47bb-0310-9956-ffa450edef68
* Python cluster test improvements and some additional testsKim van der Riet2009-06-033-354/+491
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781431 13f79535-47bb-0310-9956-ffa450edef68
* Change to make suppression apply on fc5 as well as rhel5.Gordon Sim2009-06-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781331 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to cluster tests which enable them to be built and run outside the ↵Kim van der Riet2009-06-022-7/+7
| | | | | | source tree. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781070 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to QPID-1879 so that clustering still works:Andrew Stitcher2009-06-011-3/+1
| | | | | | | | | Change client io threading to be initialised at first use Stop linking loadable modules with tests Add some sentinel values so that we can see what happened last git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1819: ensure that security layer implementation can cope with the case ↵Gordon Sim2009-06-011-0/+20
| | | | | | where the max allowed input to cyrus sal routines isless than the max frame size in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780719 13f79535-47bb-0310-9956-ffa450edef68
* make cluster.py executable fix typo in test scriptGordon Sim2009-05-292-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780018 13f79535-47bb-0310-9956-ffa450edef68
* Fix from gsim for python path; also changed name of QPID_CONFIG environment ↵Kim van der Riet2009-05-272-12/+15
| | | | | | variable which clashes with previous definition and made others more consistent in naming. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1873: Further test case contributed by Mick Goulish.Gordon Sim2009-05-271-0/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779241 13f79535-47bb-0310-9956-ffa450edef68
* Fixed erroneous use of arg::durable in messageTransfer()Kim van der Riet2009-05-271-43/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779205 13f79535-47bb-0310-9956-ffa450edef68
* Set log level for forked brokers to notice+ rather than error+.Alan Conway2009-05-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1488: Ensure policy state (+ store state & mgmt stats) are accurate on ↵Gordon Sim2009-05-271-0/+52
| | | | | | | | | | | | | | newly joined nodes by informing the queue of any logically enqueued messages that are currently acquired (but not accepted or released). QPID-1873: Ensure that the various properties of a queue (durability, exclusivity etc) are correctly replicated to new cluster members. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779183 13f79535-47bb-0310-9956-ffa450edef68
* Persistent cluster test added which checks for recovery of queue and ↵Kim van der Riet2009-05-262-39/+84
| | | | | | messages after all nodes in a cluster are killed. Test does not run if no store is loaded. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778827 13f79535-47bb-0310-9956-ffa450edef68
* Added installable python cluster tests that can be run from an external ↵Kim van der Riet2009-05-268-20/+1051
| | | | | | store build/test environment and can test persistent clusters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778751 13f79535-47bb-0310-9956-ffa450edef68
* Optimized TopicExchange matching.Alan Conway2009-05-221-119/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777347 13f79535-47bb-0310-9956-ffa450edef68
* More work on cmake:Andrew Stitcher2009-05-142-8/+16
| | | | | | | | | Make tests build on Linux Fix XML tests to run Fix cmake installed locations for modules/config files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774814 13f79535-47bb-0310-9956-ffa450edef68
* Windows adjustments to run testsStephen D. Huston2009-05-111-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773716 13f79535-47bb-0310-9956-ffa450edef68