From 704d3c7c2ff39309e28dbd1ba006b1cc2b3a63c0 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 16 Oct 2009 18:47:52 +0000 Subject: 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 --- cpp/src/tests/BrokerFixture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/tests') 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); }; -- cgit v1.2.1