Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
proton-j-0.18.0
-
None
-
commit bdfe982f5f2dd8b9735288623fbc8eabe4a5371f (upstream/master)
Author: Jiri Danek <jdanek@redhat.com>
Date: Tue Oct 10 21:57:30 2017 +0200
PROTON-1622Add coverage reporting to CMake build
Description
The following test will get stuck
struct timed_reconnect_tester : public proton::messaging_handler { struct timer_handler : public proton::void_function0 { proton::container *c = nullptr; void operator()() PN_CPP_OVERRIDE { c->stop(); } }; test_port port; timer_handler handler; void on_container_start(proton::container &c) PN_CPP_OVERRIDE { c.listen(port.url()); handler.c = &c; proton::reconnect_options reconnect_options; c.connect(port.url("127.0.0.1"), proton::connection_options().reconnect(reconnect_options)); c.schedule(proton::duration::IMMEDIATE, handler); } }; int test_timed_reconnect() { timed_reconnect_tester t; proton::container(t).run(); return 0; }
Attachments
Issue Links
- is duplicated by
-
PROTON-1700 [cpp] Reconnecting container does not respond to stop
- Closed