summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Extended cluster_tests.test_management exposes a bug.Alan Conway2010-03-032-23/+75
| | | | | | | | | - kill and start brokers with clients running. - added qpid-stat -b and testagent clients - disabled in src/tests/cluster_tests.fail till bug is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918674 13f79535-47bb-0310-9956-ffa450edef68
* Added tests/testagent, a simple QMF agent for use in tests.Alan Conway2010-03-034-0/+322
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2402 & QPID-2406: Documented the units for the ttl property of Message. ↵Gordon Sim2010-03-033-32/+27
| | | | | | Eliminated use of qpid::sys::Duration from API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2427: Align browsing option with approach used in python clientGordon Sim2010-03-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2423 - Add Constructors to set initial value of content for MapContent ↵Ted Ross2010-02-261-0/+53
| | | | | | and ListContent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916803 13f79535-47bb-0310-9956-ffa450edef68
* Last member of a cluster always has clean store.Alan Conway2010-02-251-14/+40
| | | | | | | | | | When a cluster is reduced to a single broker, it marks its store as clean regardless of how it is shut down. If we're down to a single member we know we want to use its store to recover as there are no others. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916475 13f79535-47bb-0310-9956-ffa450edef68
* Configure boost tests to create core dumps.Alan Conway2010-02-252-1/+3
| | | | | | | 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
* Minor improvements to verify_cluster_objects.Alan Conway2010-02-251-13/+21
| | | | | | | Cached IDs, runs about 3x faster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916473 13f79535-47bb-0310-9956-ffa450edef68
* Removed unecessary include of Msg.h in Exception.hAndrew Stitcher2010-02-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916453 13f79535-47bb-0310-9956-ffa450edef68
* Failover_soak was not detecting child exits properly, and soMichael Goulish2010-02-242-82/+81
| | | | | | | | | | | | | | | | | | was not terminating when the sending and receiving clients had both exited. Also, the killing of a broker on every loop was excessive and caused test-generated problems that are not meaningful. I have changed the way the failover_soak process detects child exits, and made it only kill brokers about once every twenty times trhough its main loop. ( Using a random number to decide when to do it. ) This still results in a good number of broker-kills during a 500,000 message test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@915673 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid::sys::usleep() instead of usleep(). Resolves QPID-2408.Stephen D. Huston2010-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910567 13f79535-47bb-0310-9956-ffa450edef68
* update exclude file to match new test package nameRafael H. Schloming2010-02-161-31/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910500 13f79535-47bb-0310-9956-ffa450edef68
* Added handling for adjusting TTL on outgoing message based on how long a ↵Kim van der Riet2010-02-151-0/+30
| | | | | | message has been on the queue. Added a new TTL test as ClientSessionTest.testTtl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910289 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
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-142-3/+5
| | | | | | into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910016 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-127-0/+140
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@909641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2029 - Added verification script contributed by John DunningTed Ross2010-02-051-0/+400
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@907119 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
* moved protocol tests from qpid/python to qpid/testsRafael H. Schloming2010-02-053-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906961 13f79535-47bb-0310-9956-ffa450edef68
* specify PLAIN so that sasl negotiation can't end up using ANONYMOUSRafael H. Schloming2010-02-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906959 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: fix update of failover exchange.Alan Conway2010-02-021-1/+1
| | | | | | | During update the cluster was sending an extra update to the failover exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@905676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2380: recognise reliability option for sender (also added capacity to ↵Gordon Sim2010-02-021-0/+4
| | | | | | qpid_send test client and fixed handling of empty option string) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@905579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2348 - [C++] The HeadersExchange does not support federationTed Ross2010-02-013-0/+301
| | | | | | | Applied patch from Sam Joyce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@905322 13f79535-47bb-0310-9956-ffa450edef68
* test_enf.sh: Added missing directories to PATHAlan Conway2010-01-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2374: Null authenticator now checks for SSL if --encryption-required ↵Kenneth Anthony Giusti2010-01-281-1/+1
| | | | | | specified git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change format of connection options string to match address ↵Gordon Sim2010-01-284-13/+17
| | | | | | options; make open() a non-static method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@904000 13f79535-47bb-0310-9956-ffa450edef68
* Test for management + cluster: run management tools in parallel with regular ↵Alan Conway2010-01-272-5/+70
| | | | | | | | | | clients. cluster_tests.py: added LongTests.test_management brokertest.py: optionally drain test process output to *.out/*.err files. On by default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903868 13f79535-47bb-0310-9956-ffa450edef68
* Locate an executable's path correctly and set up in PATH properly. Catch up ↵Stephen D. Huston2010-01-272-9/+6
| | | | | | run_federation_tests.ps1 to match latest run_federation_test script. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903851 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster elder calculation to ensure unique elder.Alan Conway2010-01-271-17/+21
| | | | | | | | Race condition in the previous algorithm allowed several cluster members to consider themselves the elder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903826 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change cancel() to close() for consistencyGordon Sim2010-01-271-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903599 13f79535-47bb-0310-9956-ffa450edef68
* Explicitly ignore SIGCHLD signal by sending it to an empty function so thatAndrew Stitcher2010-01-251-0/+17
| | | | | | the boost_unit_test framework doesn't catch the signal when child processes exit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2347: Signal deletion of queue to active subscribers via a ↵Gordon Sim2010-01-222-0/+14
| | | | | | resource-deleted exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@902055 13f79535-47bb-0310-9956-ffa450edef68
* Provide access to a sessions connection.Gordon Sim2010-01-201-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@901247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added support for testing transactions to qpid-send and qpid-recv, ↵Gordon Sim2010-01-202-26/+61
| | | | | | fixed bug in rollback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@901153 13f79535-47bb-0310-9956-ffa450edef68
* Fix intermittent test error: cluster_test.cpp(1108): error in "testRelease": ↵Alan Conway2010-01-191-0/+1
| | | | | | | | | | | | | | | | check browse(c3, "q", 5) == expected failed [ != m_1 m_2 m_3 m_4 m_5 ] This was a test issue, not a broker issue. What seems to have been happening: - start broker b0 & send messages. - fork broker b1 - line 1103 (lqSub.release(...)); executes against b0 _before_ b1 connects for update lqSub.release(lqSub.getUnaccepted()); - line 1108 browse() executes during the update. - update takes > 0.5 secs for some reason, browse times out. The fix is a synchronous flush in browse() which will wait for the broker to be responsive before trying to get the messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@900829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2335: Set the timeout used when waiting for a message to be 1 second ↵Gordon Sim2010-01-191-1/+1
| | | | | | which I assume was the original intention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@900697 13f79535-47bb-0310-9956-ffa450edef68
* Commiting John Dunning's revisions to the XML client session test.Jonathan Robie2010-01-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@900488 13f79535-47bb-0310-9956-ffa450edef68
* 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@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@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@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@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@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@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@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@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@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@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@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@893175 13f79535-47bb-0310-9956-ffa450edef68