A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strenghten this test
[simgrid.git]
/
teshsuite
/
s4u
/
host_on_off_wait
/
host_on_off_wait.cpp
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
e8617e0
..
b0fcb13
100644
(file)
--- 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[])