X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/485a433d6e5df32fcc54eed7804af70974d8acc4..eba5ae1edf4ba60747de3d624ab2a34bdc2f5b84:/teshsuite/java/SemaphoreGC/SemaphoreGC.java diff --git a/teshsuite/java/SemaphoreGC/SemaphoreGC.java b/teshsuite/java/SemaphoreGC/SemaphoreGC.java index d8fb366269..84d4f18a96 100644 --- a/teshsuite/java/SemaphoreGC/SemaphoreGC.java +++ b/teshsuite/java/SemaphoreGC/SemaphoreGC.java @@ -40,8 +40,7 @@ public class SemaphoreGC { } Msg.createEnvironment(args[0]); - Host[] hosts = Host.all(); - new SemCreator(hosts[0], "SemCreator").start(); + new SemCreator(Host.getByName("Fafard"), "SemCreator").start(); Msg.run(); }