summaryrefslogtreecommitdiff
path: root/cpp/tests/client_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/client_test.cpp')
-rw-r--r--cpp/tests/client_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/tests/client_test.cpp b/cpp/tests/client_test.cpp
index 5fbacaae73..413523a6a7 100644
--- a/cpp/tests/client_test.cpp
+++ b/cpp/tests/client_test.cpp
@@ -72,8 +72,9 @@ int main(int argc, char**)
Connection con(verbose);
string host("localhost");
- con.open(host);
- if (verbose) std::cout << "Opened connection." << std::endl;
+ con.open(host, 5672, "guest", "guest", "/test");
+ if (verbose)
+ std::cout << "Opened connection." << std::endl;
//Create and open a channel on the connection through which
//most functionality is exposed