qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [04/38] qpid-proton git commit: NO-JIRA: [C++ binding] make container test work with more containers
Date Thu, 23 Feb 2017 22:51:11 GMT
NO-JIRA: [C++ binding] make container test work with more containers


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/3ca4bdcd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/3ca4bdcd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/3ca4bdcd

Branch: refs/heads/go1
Commit: 3ca4bdcd64d32fb5e81adb5c5467391d3bb11693
Parents: 8cc266e
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Wed Feb 8 15:38:00 2017 -0500
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Thu Feb 9 21:23:20 2017 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/src/container_test.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/3ca4bdcd/proton-c/bindings/cpp/src/container_test.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/container_test.cpp b/proton-c/bindings/cpp/src/container_test.cpp
index 564a4ba..e02aff5 100644
--- a/proton-c/bindings/cpp/src/container_test.cpp
+++ b/proton-c/bindings/cpp/src/container_test.cpp
@@ -139,10 +139,12 @@ int test_container_bad_address() {
     proton::default_container c;
     // Default fixed-option listener. Valgrind for leaks.
     try { c.listen("999.666.999.666:0"); } catch (const proton::error&) {}
+    c.run();
     // Dummy listener.
     test_listener l;
     test_handler h2(std::string("999.999.999.666"), proton::connection_options());
     try { c.listen("999.666.999.666:0", l); } catch (const proton::error&) {}
+    c.run();
     ASSERT(!l.on_accept_);
     ASSERT(l.on_close_);
     ASSERT(!l.on_error_.empty());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message