Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 17 May 2019 07:49:50 +0000 (09:49 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 17 May 2019 09:11:33 +0000 (11:11 +0200)
teshsuite/java/sleephostoff/SleepHostOff.java
teshsuite/java/sleephostoff/sleephostoff.tesh

index b47ee6c..baefd9e 100644 (file)
@@ -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());
       }
     }
   }
index cdb73b7..b67522a 100644 (file)
@@ -7,6 +7,6 @@ $ ${javacmd:=java} -classpath ${classpath:=.} sleephostoff.SleepHostOff ${srcdir
 > [  0.020000] (1:TestRunner@Fafard) Stop Tremblay
 > [  0.020000] (2:Sleeper@Tremblay) I'm not dead
 > [  0.020000] (1:TestRunner@Fafard) Tremblay has been stopped
-> [  0.020000] (2:Sleeper@Tremblay) catch HostException: Host Failure 
+> [  0.020000] (2:Sleeper@Tremblay) catch HostFailureException: Host Failure 
 > [  0.320000] (1:TestRunner@Fafard) Test sleep seems ok, cool! (number of Process : 1, it should be 1 (i.e. the Test one))
 > [  0.320000] (0:maestro@) MSG_main finished; Terminating the simulation...