From: Martin Quinson Date: Sun, 26 Aug 2018 22:37:52 +0000 (+0200) Subject: strenghten this test X-Git-Tag: v3_21~155 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d3c9e4c09d470dfbb7994c2aff986e875bb375f0 strenghten this test --- diff --git a/teshsuite/s4u/host_on_off_wait/host_on_off_wait.cpp b/teshsuite/s4u/host_on_off_wait/host_on_off_wait.cpp index e8617e07e7..b0fcb1374d 100644 --- a/teshsuite/s4u/host_on_off_wait/host_on_off_wait.cpp +++ b/teshsuite/s4u/host_on_off_wait/host_on_off_wait.cpp @@ -25,7 +25,9 @@ static void worker() simgrid::s4u::this_actor::sleep_for(5); } catch (simgrid::HostFailureException& e) { XBT_INFO("The host has died ... as expected."); + return; } + XBT_INFO("The host did not die! That's a bug!"); } int main(int argc, char* argv[])