Commit 818cef3f authored by Dominik Charousset's avatar Dominik Charousset

Adjust test_broker to latest caf::io changes

parent b05e36d3
......@@ -146,12 +146,7 @@ void run_server(bool spawn_client, const char* bin_path) {
bool done = false;
while (!done) {
try {
spawn_functor(nullptr,
[=](broker* bro) {
bro->add_acceptor(
network::new_ipv4_acceptor(port));
},
peer_acceptor_fun, p);
io::spawn_io_server(peer_acceptor_fun, port, p);
}
catch (bind_failure&) {
// try next port
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment