X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/63e51e420cc4bfe5cbb54482c95f1b6d1257df03..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/teshsuite/java/sleephostoff/SleepHostOff.java diff --git a/teshsuite/java/sleephostoff/SleepHostOff.java b/teshsuite/java/sleephostoff/SleepHostOff.java index 16ab628585..a843dd9924 100644 --- a/teshsuite/java/sleephostoff/SleepHostOff.java +++ b/teshsuite/java/sleephostoff/SleepHostOff.java @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -21,7 +21,7 @@ class Sleeper extends Process { stillAlive = true; } catch (HostFailureException e) { stillAlive = false; - Msg.info("catch HostException: "+e.getLocalizedMessage()); + Msg.info("catch HostFailureException: "+e.getLocalizedMessage()); } } } @@ -45,7 +45,7 @@ class TestRunner extends Process { host.off(); Msg.info(host.getName()+" has been stopped"); waitFor(0.3); - Msg.info("Test sleep seems ok, cool! (number of Process : " + Process.getCount() + Msg.info("Test sleep seems ok, cool! (number of Process : " + Process.getCount() + ", it should be 1 (i.e. the Test one))"); } }