X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ecd5f7562caf1d443bf22788fa5f4fac408776ec..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/teshsuite/java/sleephostoff/SleepHostOff.java diff --git a/teshsuite/java/sleephostoff/SleepHostOff.java b/teshsuite/java/sleephostoff/SleepHostOff.java index 16ab628585..7bbc609c69 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-2021. 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))"); } }