summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4327: Optimize brokertest.ready() to improve test runtimes.Alan Conway2013-08-011-22/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4940: Remove qmf1 console codeAndrew Stitcher2013-07-263-75/+1
| | | | | | QPID-4941: Remove qmf1 console examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4940: Remove obsolete qmf codeAndrew Stitcher2013-07-262-272/+0
| | | | | | | | | - Remove qmf1 engine code - Remove qmf1 language bindings - Remove qmf1 agent code (it depends on engine) - Fix up cmake to build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5019: add flag to distinguish QMFv2 eventsKenneth Anthony Giusti2013-07-261-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507370 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: QPID-3633: Remove autotools build from qpid C++ source treeAndrew Stitcher2013-07-259-633/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5015: increase timeouts for queue flow testsKenneth Anthony Giusti2013-07-241-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1506613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: fix test script for case where AMQP 1.0 support is not builtGordon Sim2013-07-171-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4993: reroute dropped messages in ring queue if alternate exchange is ↵Gordon Sim2013-07-171-1/+18
| | | | | | specified git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: add test script introduced in last commit to EXTRA_DISTGordon Sim2013-07-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4907: fix unit testGordon Sim2013-07-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: Add test runs using swigged python clientGordon Sim2013-07-166-2/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3247: add policy for self-struct subscription queueGordon Sim2013-07-131-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502766 13f79535-47bb-0310-9956-ffa450edef68
* Add Windows Powershell version of this test. NO-JIRA.Stephen D. Huston2013-07-121-0/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502714 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4907: change qpidd default mode for QMF event and update publishing to ↵Kenneth Anthony Giusti2013-07-121-24/+70
| | | | | | use QMFv2 format only git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4986: ensure correct handler is called for message-id typed propertiesGordon Sim2013-07-112-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502193 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4976: support standard lifetime policiesGordon Sim2013-07-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1501768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA skip test test_failover_send_receive till fixed.Alan Conway2013-07-091-1/+3
| | | | | | | This test is still failing very occasionally (approx 1 in 5000 runs) It is being disabled to cut down on noise in automated builds untill the problem is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1501259 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Changed output directory for ha_tests.py to avoid other testsc ↵Alan Conway2013-07-051-2/+5
| | | | | | overwriting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure: test_failover_send_receiveAlan Conway2013-07-042-7/+6
| | | | | | | | | | | | | | | | | Test failing if run as: ha_tests.py -DDURATION=2 AssertionError: Stalled test0 waiting for 248, sent 1228 The problem was a missing call to notify() when a ReplicatingSubscription skipped a message. That resulted in very long (>1s) delays between skipped messages which caused the test to time out. Changes: - ReplicatingSubscription::deliver call notify() to keep consumer active. - Re-enable test_failover_send_receive. - Increase default credit for replicating subscription to match qpid-send. - Rename ReplicatingSubscription::unacked as unready, clearer meaning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1499789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure - logging improvements used to investigate.Alan Conway2013-07-042-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1499788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4969: C++ Broker headers exchange allows creation of bindings Charles E. Rolke2013-07-011-1/+1
| | | | | | | | | | | with duplicate keys Patch from Gordon Sim to correct issues in initial fix. Now successive bind requests are accepted when the key, queue, and exchange are identical if and only if all of the binding args are also identical. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Fix make distcheck problems with qpidd-p0 script.Alan Conway2013-06-271-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA skip test test_failover_send_receive till fixed.Alan Conway2013-06-271-1/+3
| | | | | | | This test has been failing sporadically for some time, it is being disabled to cut down on noise in automated builds untill the problem is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497477 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: restrict broker to listen only on loopback interface (ensures they ↵Gordon Sim2013-06-273-4/+4
| | | | | | are listening on the right interface when port is 0) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4953: recognise temp queue shorthand in 0-10 codepathGordon Sim2013-06-261-1/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure in ha_tests: tes_failover_send_receive and ↵Alan Conway2013-06-212-7/+4
| | | | | | | | | | | | test_expected_backup_timeout Very sporadic failures so difficult to verify the fix. - Simplified Membership, centralized status change, make it atomic. - Fix test bug in test_expected_backup_timeout: not waiting on final status check, race. - Remove out-of-date status info from log prefixes: Guard, ReplicatingSubscription git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4938: No longer build acl or ssl support as pluginsAndrew Stitcher2013-06-199-58/+9
| | | | | | (also remove final references to dead watchdog plugin) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4931: Only allow broker to listen to a single address if "--port 0" ↵Andrew Stitcher2013-06-193-3/+2
| | | | | | | | | | | specified - If more than one address is specified or implied by the defaults the broker will log a warning - This is intended to avoid testing problems where the broker fails to connect to the port of subsequent listening addresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Remove spurious --port option in qpidd-p0Alan Conway2013-06-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Alternative port allocation for tests, instead of 'qpidd --port=0'Alan Conway2013-06-183-2/+56
| | | | | | | | | | | | | | | | | | qpidd-p0 script binds a new port to a socket using bind(0), and then execs qpidd using the --socket-fd option to pass the socket to qpidd. It is intended to replace /path/to/qpidd --port 0 <args...> with qpidd-p0 /path/to/qpidd <args...> Most tests do not yet use qpidd-p0, they will be updated in a future commit. Changes: - Added qpidd-p0 - Fixed qpidd port printing logic: print port only if --port=0, regardless of --transport. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add path when invoking sasl_test_setup.shAlan Conway2013-06-181-1/+1
| | | | | | Build was failing with "sasl_test_setup.sh not found", added an explict path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Get Unix sasl/ssl test workingAndrew Stitcher2013-06-171-13/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4348: HA Use independent sequence numbers for identifying messagesAlan Conway2013-06-174-38/+37
| | | | | | | | | | | | | | | Previously HA code used queue sequence numbers to identify messasges. This assumes that message sequence is identical on primary and backup. Implementing new features (for example transactions) requires that we tolerate ordering differences between primary and backups. This patch introduces a new, queue-scoped HA sequence number managed by the HA plugin. The HA ID is set *before* the message is enqueued and assigned a queue sequence number. This means it is possible to identify messages before they are enqueued, e.g. messages in an open transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add in overlooked cli_testsAndrew Stitcher2013-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add in tests missing from the cmake buildAndrew Stitcher2013-06-141-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493264 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: restrict broker to listen only on loopback interface (which is all ↵Gordon Sim2013-06-1313-20/+22
| | | | | | that gets used by clients) in order to avoid port collisions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492778 13f79535-47bb-0310-9956-ffa450edef68
* Add a test for recovering a message with 0-length body. NO-JIRA.Stephen D. Huston2013-06-061-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490365 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added connection timeout to python client, used in brokertests.Alan Conway2013-05-291-2/+2
| | | | | | | Added an optional timeout parameter to Connection.establish. Set a timeout of 5 seconds in brokertest.py to prevent hanging tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487578 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: CMake: Added missing test_wrap around stop_broker test.Alan Conway2013-05-291-1/+1
| | | | | | | | The stop_broker test was being run without the test_wrap wrapper. That meant it was loading the default /etc/qpidd.conf, so the test would fail if that config had any options defined by a module (since the tests dont load default modules.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4713: fix handling of reply to when converting from 1.0 to 0-10 formatGordon Sim2013-05-282-7/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486989 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: match the frequency of rate failure warnings to stats report frequencyGordon Sim2013-05-271-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4890: added workaround to test to handle issues with closing stdin of ↵Gordon Sim2013-05-271-0/+1
| | | | | | subprocesses under older python interpreters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-251-2/+2
| | | | | | | | | Self test on RHEL 6 hangs frequently. Fall out of test and leave a dangling session. This appears to avoid the hang. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-242-376/+0
| | | | | | | | Previous commit had file content for these two files twice. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-242-0/+750
| | | | | | | | Commit new files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485836 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4866: HA support for failover exchangeAlan Conway2013-05-222-11/+26
| | | | | | | Add support for the "amq.failover" exchange with new HA, to support migration of clients that used this facility with the old cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4878: fix SASL for connections established by the brokerGordon Sim2013-05-221-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485467 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: cleanup temp files to fix the distcheck buildKenneth Anthony Giusti2013-05-201-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484491 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unnecessary includes from test scriptGordon Sim2013-05-201-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484391 13f79535-47bb-0310-9956-ffa450edef68