summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-10-16 18:47:52 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-10-16 18:47:52 +0000
commit704d3c7c2ff39309e28dbd1ba006b1cc2b3a63c0 (patch)
tree7a56dac9c5584728fe47d6b1e6b53ce27518a3e9 /cpp/src/tests
parent18b24ce73d0740ad7df97ccca6cec5e2ba9d3ec2 (diff)
downloadqpid-python-704d3c7c2ff39309e28dbd1ba006b1cc2b3a63c0.tar.gz
Pull running acceptor out of Broker run loop
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/BrokerFixture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/BrokerFixture.h b/cpp/src/tests/BrokerFixture.h
index bb985cf7e1..861400f539 100644
--- a/cpp/src/tests/BrokerFixture.h
+++ b/cpp/src/tests/BrokerFixture.h
@@ -66,6 +66,7 @@ struct BrokerFixture : private boost::noncopyable {
// TODO aconway 2007-12-05: At one point BrokerFixture
// tests could hang in Connection ctor if the following
// line is removed. This may not be an issue anymore.
+ broker->accept();
broker->getPort(qpid::broker::Broker::TCP_TRANSPORT);
brokerThread = qpid::sys::Thread(*broker);
};