Commit 40b1b4f1 authored by Dominik Charousset's avatar Dominik Charousset

Fix output of unit tests

parent 7ad651b1
......@@ -58,7 +58,7 @@ void test_serial_reply() {
);
{ // lifetime scope of self
scoped_actor self;
cout << "ID of main: " << self->id() << endl;
CAF_PRINT("ID of main: " << self->id());
self->sync_send(master, atom("hi there")).await(
on(atom("hiho")) >> [] {
CAF_CHECKPOINT();
......
......@@ -48,13 +48,10 @@ void run_client(const char* host, uint16_t port) {
try {
io::remote_actor(host, port);
}
catch (std::runtime_error& e) {
catch (network_error& e) {
cout << e.what() << endl;
CAF_CHECKPOINT();
}
catch (std::exception& e) {
cerr << "unexpected: " << e.what() << endl;
}
CAF_CHECKPOINT();
auto serv = io::typed_remote_actor<server_type>(host, port);
CAF_CHECKPOINT();
......
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