From d3c9e4c09d470dfbb7994c2aff986e875bb375f0 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 27 Aug 2018 00:37:52 +0200 Subject: [PATCH] strenghten this test --- teshsuite/s4u/host_on_off_wait/host_on_off_wait.cpp | 2 ++ 1 file changed, 2 insertions(+) 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[]) -- 2.20.1