X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/70d5a925d60c5bdfb0e72183e28435b2023e8529..fc297fe76f42c14ddd924d42d765b58cff80c21b:/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh diff --git a/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh b/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh index 72e87a8508..76c6b4a12e 100644 --- a/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh +++ b/teshsuite/java/SemaphoreGC/SemaphoreGC.tesh @@ -1,4 +1,6 @@ -$ java -classpath ${classpath:=.} SemaphoreGC.SemaphoreGC ${srcdir:=.}/../../examples/platforms/small_platform.xml "--log=root.fmt:[%10.4r]%e(%i:%P@%h)%e%m%n" +! timeout 15 + +$ java -classpath ${classpath:=.} SemaphoreGC.SemaphoreGC ${srcdir:=.}/small_platform.xml "--log=root.fmt:[%10.4r]%e(%i:%P@%h)%e%m%n" > [ 0.0000] (0:maestro@) Using regular java threads. > [ 0.0000] (1:SemCreator@Fafard) Creating 50 new Semaphores, yielding and triggering a GC after each > [ 500.0000] (1:SemCreator@Fafard) It worked, we survived. The test is passed.