summaryrefslogtreecommitdiff
path: root/cpp/tests/ChannelTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/ChannelTest.cpp')
-rw-r--r--cpp/tests/ChannelTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/tests/ChannelTest.cpp b/cpp/tests/ChannelTest.cpp
index 60157834bd..c20a490dc8 100644
--- a/cpp/tests/ChannelTest.cpp
+++ b/cpp/tests/ChannelTest.cpp
@@ -178,6 +178,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryNoAck(){
Channel channel(connection, 7, 10000);
+ channel.open();
const string data("abcdefghijklmn");
Message::shared_ptr msg(
createMessage("test", "my_routing_key", "my_message_id", 14));
@@ -207,6 +208,7 @@ class ChannelTest : public CppUnit::TestCase
void testDeliveryAndRecovery(){
Channel channel(connection, 7, 10000);
+ channel.open();
const string data("abcdefghijklmn");
Message::shared_ptr msg(createMessage("test", "my_routing_key", "my_message_id", 14));