summaryrefslogtreecommitdiff
path: root/cpp/tests/client_test.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-14 19:40:45 +0000
committerAlan Conway <aconway@apache.org>2007-03-14 19:40:45 +0000
commit06f06eb902f4d2b07fde2328fc5b3a98eb218d66 (patch)
treedab95409b91b67291012730fec8127cd1015c57e /cpp/tests/client_test.cpp
parent8a9c82489f660a08126966dffd4c734a7e4df70a (diff)
downloadqpid-python-06f06eb902f4d2b07fde2328fc5b3a98eb218d66.tar.gz
Merged revisions 513371 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r513371 | rgreig | 2007-03-01 10:09:17 -0500 (Thu, 01 Mar 2007) | 1 line (Patch submitted by Rupert Smith) Small changes to use virtual hosts, merged back in from perftesting_persistent branch. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518293 13f79535-47bb-0310-9956-ffa450edef68
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