<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/qpid-python.git/cpp/src/tests/brokertest.py, branch java-broker-vhost-refactor</title>
<subtitle>git.apache.org: qpid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/'/>
<entry>
<title>NO-JIRA: Added connection timeout to python client, used in brokertests.</title>
<updated>2013-05-29T18:03:50+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-29T18:03:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=efa84dfce326ea33e2eddfd3cb8142a8d708e101'/>
<id>efa84dfce326ea33e2eddfd3cb8142a8d708e101</id>
<content type='text'>
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/qpid@1487578 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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/qpid@1487578 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4745: HA safe port allocation for brokers in HA tests.</title>
<updated>2013-05-15T15:03:44+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-15T15:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=c410b47cb23dd72cacd7fd4f4a224576b017af37'/>
<id>c410b47cb23dd72cacd7fd4f4a224576b017af37</id>
<content type='text'>
Many HA tests use --port=0 to start a broker on an available port, but then need
to shutdown and restart the broker on the same port. This is not safe, on a busy
system it is possible for another process to take the port between the time the
broker is shut down and the time it is restarted.

The solution is to do bind(0) and listen in the python test framework (class
HaPort) and let the broker use the socket using qpidd --socket-fd. When the
broker is shut down the port remains bound by the python process. When the
broker is re-started it again is given access to the socket via --socket-fd.

Other changes
- move ha_store_tests into ha_tests.
- add heartbeats to avoid stalling.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482881 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many HA tests use --port=0 to start a broker on an available port, but then need
to shutdown and restart the broker on the same port. This is not safe, on a busy
system it is possible for another process to take the port between the time the
broker is shut down and the time it is restarted.

The solution is to do bind(0) and listen in the python test framework (class
HaPort) and let the broker use the socket using qpidd --socket-fd. When the
broker is shut down the port remains bound by the python process. When the
broker is re-started it again is given access to the socket via --socket-fd.

Other changes
- move ha_store_tests into ha_tests.
- add heartbeats to avoid stalling.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482881 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4640: brokertest.py prints a message and skips tests if qmf.console not available.</title>
<updated>2013-03-15T20:27:32+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-03-15T20:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=9bdb24353d5eaf69ebf2c741ef6160d09fd90597'/>
<id>9bdb24353d5eaf69ebf2c741ef6160d09fd90597</id>
<content type='text'>
Tests that use qmf.console will print a skip message if it is not available.
For example: they may not be available when building from a distro rather than a
checkout.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1457097 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests that use qmf.console will print a skip message if it is not available.
For example: they may not be available when building from a distro rather than a
checkout.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1457097 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4586: add ability to have qpidd establish outgoing connections</title>
<updated>2013-03-14T19:36:26+00:00</updated>
<author>
<name>Gordon Sim</name>
<email>gsim@apache.org</email>
</author>
<published>2013-03-14T19:36:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=a75b77e30824dced388cb30011c7b82b77063831'/>
<id>a75b77e30824dced388cb30011c7b82b77063831</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456621 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456621 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4514: Remove obsolete cluster code: brokertest.py</title>
<updated>2013-01-03T22:06:56+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-01-03T22:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=ced556fb16a0bcb57901d58297202a12721d35c0'/>
<id>ced556fb16a0bcb57901d58297202a12721d35c0</id>
<content type='text'>
Clean up cluster obsolete code in brokertest.py.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428634 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clean up cluster obsolete code in brokertest.py.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428634 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>NO-JIRA: Fix race condition in brokertest.py test harness.</title>
<updated>2012-12-07T18:09:26+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2012-12-07T18:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=f02ec7a0bab8326b4b681ad4af822a166bd0cc90'/>
<id>f02ec7a0bab8326b4b681ad4af822a166bd0cc90</id>
<content type='text'>
Fixed a race conndition that was causing false failures of the form "expected an
error".

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1418417 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a race conndition that was causing false failures of the form "expected an
error".

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1418417 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 860701 - QPID-4350: HA handle auto-delete queues</title>
<updated>2012-10-11T19:23:30+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2012-10-11T19:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=0963c9f7a673b480cb26fc91215f48ddc5d7f769'/>
<id>0963c9f7a673b480cb26fc91215f48ddc5d7f769</id>
<content type='text'>
Subscribed auto-delete queues are deleted by the backup.
Timed auto-delete queues are deleted after the timeout.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397243 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Subscribed auto-delete queues are deleted by the backup.
Timed auto-delete queues are deleted after the timeout.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397243 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4325: HA Starting from persistent store</title>
<updated>2012-09-25T20:49:33+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2012-09-25T20:49:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=7356e5f508658bdba40c865c4a29b54c8566d560'/>
<id>7356e5f508658bdba40c865c4a29b54c8566d560</id>
<content type='text'>
When re-starting a persistent HA cluster, the broker that becomes primary should
keep its store data while all the backup brokers should discard their store data
and catch up from the primary. Backups cannot simply use their own stores
because sequence numbers of stored messages will not match on all brokers. The
backup erases individual queues and exchanges as the catch-up process gets to
them.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1390123 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When re-starting a persistent HA cluster, the broker that becomes primary should
keep its store data while all the backup brokers should discard their store data
and catch up from the primary. Backups cannot simply use their own stores
because sequence numbers of stored messages will not match on all brokers. The
backup erases individual queues and exchanges as the catch-up process gets to
them.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1390123 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4223: HA Completion isn't sent when queue that has acquired but unacknowledged messages is deleted</title>
<updated>2012-09-14T18:48:09+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2012-09-14T18:48:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=928d9ace1dde955a4a673d79edfe71a2bd35b90d'/>
<id>928d9ace1dde955a4a673d79edfe71a2bd35b90d</id>
<content type='text'>
- Extended ha_test.py test_failover_send_receive to kill backup as well as primary
- QueueRegistry::destroy was not calling observer.
- Primary removes disconnected brokers backups and expectedBackups
- Primary calls checkReady in all cases where broker is removed from expectedBackups

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1384882 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Extended ha_test.py test_failover_send_receive to kill backup as well as primary
- QueueRegistry::destroy was not calling observer.
- Primary removes disconnected brokers backups and expectedBackups
- Primary calls checkReady in all cases where broker is removed from expectedBackups

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1384882 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4072: HA use backup messages in failover.</title>
<updated>2012-06-18T20:43:19+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2012-06-18T20:43:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=47cd1a314e8cfb84e0e32f37106e11a653d946ca'/>
<id>47cd1a314e8cfb84e0e32f37106e11a653d946ca</id>
<content type='text'>
ReplicatingSubscription syncs the primary and backup queues, and does not
re-send messages that are already on the backup.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351481 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ReplicatingSubscription syncs the primary and backup queues, and does not
re-send messages that are already on the backup.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351481 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
</feed>
