// We should wait a bit (if not the process will end before the communication, hence an exception on the other side).
try {
simgrid::s4u::this_actor::sleep_for(30);
} catch (const simgrid::HostFailureException&) {
XBT_INFO("The host has died ... as expected.");
}
// We should wait a bit (if not the process will end before the communication, hence an exception on the other side).
try {
simgrid::s4u::this_actor::sleep_for(30);
} catch (const simgrid::HostFailureException&) {
XBT_INFO("The host has died ... as expected.");
}