summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix the behaviour of the EpollPoller when shutdowns and interrupts interactAndrew Stitcher2010-05-181-14/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2612: remove qpidtypes lib as it causes problems on windowsGordon Sim2010-05-181-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945642 13f79535-47bb-0310-9956-ffa450edef68
* Added support for user/pass@ syntax in Url.Alan Conway2010-05-171-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2588: Prevent queue being destroyed while still in use.Gordon Sim2010-05-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944683 13f79535-47bb-0310-9956-ffa450edef68
* Fix errors when new API Receiver is closed while in use.Alan Conway2010-05-141-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: separate out the messaging API into its own libraryGordon Sim2010-05-142-9/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944357 13f79535-47bb-0310-9956-ffa450edef68
* Skip cluster part of ssl_test if cluster not enabled.Alan Conway2010-05-141-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944356 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/qpid@944288 13f79535-47bb-0310-9956-ffa450edef68
* Initial multi-thread unit test for messaging API.Alan Conway2010-05-143-3/+104
| | | | | | | - added Receiver::isClosed() to test for local close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944261 13f79535-47bb-0310-9956-ffa450edef68
* Move helper classes/functions from MessagingSessionTests.cpp to ↵Alan Conway2010-05-142-170/+216
| | | | | | MessagingFixture.h for sharing with other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944260 13f79535-47bb-0310-9956-ffa450edef68
* Cluster + SecurityMichael Goulish2010-05-145-3/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------- * 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/qpid@944158 13f79535-47bb-0310-9956-ffa450edef68
* Moved FailoverUpdates to qpid::messaging namespace.Alan Conway2010-05-132-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943975 13f79535-47bb-0310-9956-ffa450edef68
* New API clients failover in a cluster with SSL connections.Alan Conway2010-05-132-19/+41
| | | | | | | | - Fix setting of reconnect URLs on messaging::Connection. - Added SSL failover test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943974 13f79535-47bb-0310-9956-ffa450edef68
* Added a few more test cases for acl file format.Rajith Muditha Attapattu2010-05-121-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943624 13f79535-47bb-0310-9956-ffa450edef68
* Delay generating URL in cluster till global constructors to handle ↵Alan Conway2010-05-121-1/+1
| | | | | | multi-protocol URLs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943488 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-121-34/+24
| | | | | | | | | | Added a test case to check if all allowed chars are accepted and the rest is rejected. Added a check for empty continuation lines. Improved error reporting by adding a line number. Removed test_allowed_chars_for_username method from acl.py as the check for group name will flag the "@" char, making this test case redundent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943351 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple protocols in qpid::Url.Alan Conway2010-05-114-19/+24
| | | | | | | | | | - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943130 13f79535-47bb-0310-9956-ffa450edef68
* Skip cluster_python_tests if cluster services are not running.Alan Conway2010-05-071-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942141 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/qpid@941852 13f79535-47bb-0310-9956-ffa450edef68
* Use UnauthorizedAccessException for ACL violations rather than ↵Gordon Sim2010-05-062-78/+78
| | | | | | NotAllowedException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941636 13f79535-47bb-0310-9956-ffa450edef68
* QMF: remove v1 method test from cluster testbed - clusters no longer support ↵Kenneth Anthony Giusti2010-04-291-0/+1
| | | | | | v1-style method calls. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939502 13f79535-47bb-0310-9956-ffa450edef68
* Fix PYTHONPATH to pick federation from the tests source dir.Stephen D. Huston2010-04-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939078 13f79535-47bb-0310-9956-ffa450edef68
* Fix path to broker exe so it can be stopped when needed.Stephen D. Huston2010-04-281-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939077 13f79535-47bb-0310-9956-ffa450edef68
* Cluster management improvements:Ted Ross2010-04-231-5/+5
| | | | | | | | | | | 1) Enable all management methods via QMFv2 for clusters 2) Disable all management methods via QMFv1 for clusters 3) The broker-resident management agent can handle both v1 and v2 method calls 4) qmf.console (Python) now works with new and old brokers by detecting whether the broker can handle v2 commands git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937472 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: File mised in previous checkinAndrew Stitcher2010-04-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-232-3/+3
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in disabling sequence number and timestamp.Alan Conway2010-04-221-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936974 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2527: Remove Thread::id member as its uses are better implemented by ↵Andrew Stitcher2010-04-212-2/+2
| | | | | | | | comparison operators. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936537 13f79535-47bb-0310-9956-ffa450edef68
* Add QMF_LIB to PYTHONPATH to pick up qmf.consoleStephen D. Huston2010-04-211-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936520 13f79535-47bb-0310-9956-ffa450edef68
* Add QMF_LIB to PYTHONPATH to pick up qmf.consoleStephen D. Huston2010-04-213-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936519 13f79535-47bb-0310-9956-ffa450edef68
* qpid_send: make serialno & timestamp optional.Alan Conway2010-04-212-9/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936338 13f79535-47bb-0310-9956-ffa450edef68
* Consistent use of string constants for message property keys in ↵Alan Conway2010-04-218-12/+21
| | | | | | sender/receiver tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936337 13f79535-47bb-0310-9956-ffa450edef68
* Count latency samples, don't assume all messages are latency samples.Alan Conway2010-04-212-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936336 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: remove call to reversed() - not in pre2.4 python, increased bind ↵Kenneth Anthony Giusti2010-04-201-9/+9
| | | | | | timeouts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935787 13f79535-47bb-0310-9956-ffa450edef68
* Port of the ACL tests script to Windows Powershell.Stephen D. Huston2010-04-191-0/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935730 13f79535-47bb-0310-9956-ffa450edef68
* Add store test executions if building the store module. Add trigger on ↵Stephen D. Huston2010-04-192-0/+104
| | | | | | messageMap table deletes to remove orphaned messages from message table; part of QPID-2420. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: add wait for new exchange to appear in qmfKenneth Anthony Giusti2010-04-191-22/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935669 13f79535-47bb-0310-9956-ffa450edef68
* Add missing Statistics.cpp to sender test's sourcesStephen D. Huston2010-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: fix route propagation tests to prevent spurious timeouts.Kenneth Anthony Giusti2010-04-161-58/+263
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935079 13f79535-47bb-0310-9956-ffa450edef68
* qpid_cpp_benchmark: added options to set address options for sending/receiving.Alan Conway2010-04-161-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934987 13f79535-47bb-0310-9956-ffa450edef68
* Added throughput reporting to sender.cpp.Alan Conway2010-04-162-8/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934986 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of QPID-2509 (Remove message staging from C++ broker)Kim van der Riet2010-04-151-64/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934463 13f79535-47bb-0310-9956-ffa450edef68
* Install new old-examples visual studio solution fileAndrew Stitcher2010-04-151-0/+4
| | | | | | | | Install perftest & latencytest programs Amend windows sdk zip builder script to strip out examples not buildable with new messaging API Build debug build before release build so that it's the release executables that are in the install area git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934261 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up unnecessary includes in ConnectionSettings and fix consequencesGordon Sim2010-04-142-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933971 13f79535-47bb-0310-9956-ffa450edef68
* Fix url parsing to make hostname requiredGordon Sim2010-04-141-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933970 13f79535-47bb-0310-9956-ffa450edef68
* Fix testagent for changes in r933842Gordon Sim2010-04-141-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933923 13f79535-47bb-0310-9956-ffa450edef68
* Update qpid_cpp_benchmark for change in python API exceptions.Alan Conway2010-04-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933755 13f79535-47bb-0310-9956-ffa450edef68
* qpid_cpp_benchmark: added --reliable optionAlan Conway2010-04-131-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933720 13f79535-47bb-0310-9956-ffa450edef68
* qpid_cpp_benchmark: print send/receive stats side-by-sideAlan Conway2010-04-132-19/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933719 13f79535-47bb-0310-9956-ffa450edef68
* Make qpid_send/qpid_receive output more spreadsheet-friendly.Alan Conway2010-04-134-21/+24
| | | | | | | | - output is tab separated - --report-header=no suppresses headers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933718 13f79535-47bb-0310-9956-ffa450edef68