Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Increase timeout for gras-rpc tests.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 13 Jul 2011 14:38:28 +0000 (16:38 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 18 Jul 2011 13:00:17 +0000 (15:00 +0200)
The default 5s timeout is sometimes too short, I don't understand why...

examples/gras/rpc/test_rl.tesh
examples/gras/rpc/test_sg_32.tesh
examples/gras/rpc/test_sg_64.tesh

index 0e00594..badbded 100755 (executable)
@@ -1,3 +1,5 @@
+! timeout 10
+
 & $SG_TEST_EXENV ./rpc_server$EXEEXT 4202 --log=root.fmt:%m%n $@
 > Launch server (port=4202)
 > Listening on port 4202
index ccca0b7..77e0c65 100644 (file)
@@ -5,6 +5,7 @@
 # VPATH builds), but also the function name (which changes with the
 # optimization level: if inlining, gcc changes it).
 
+! timeout 10
 ! output sort
 $ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n"
 > [0] (1:server@Tremblay) Launch server (port=4000)
index ccca0b7..77e0c65 100755 (executable)
@@ -5,6 +5,7 @@
 # VPATH builds), but also the function name (which changes with the
 # optimization level: if inlining, gcc changes it).
 
+! timeout 10
 ! output sort
 $ $SG_TEST_EXENV ./rpc_simulator$EXEEXT ${srcdir:=.}/../../msg/small_platform.xml ${srcdir:=.}/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n"
 > [0] (1:server@Tremblay) Launch server (port=4000)