From eedd6d36b3f5671b65e401760c51909e20f57fea Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 13 Jul 2011 16:38:28 +0200 Subject: [PATCH] Increase timeout for gras-rpc tests. The default 5s timeout is sometimes too short, I don't understand why... --- examples/gras/rpc/test_rl.tesh | 2 ++ examples/gras/rpc/test_sg_32.tesh | 1 + examples/gras/rpc/test_sg_64.tesh | 1 + 3 files changed, 4 insertions(+) diff --git a/examples/gras/rpc/test_rl.tesh b/examples/gras/rpc/test_rl.tesh index 0e005941c2..badbded8d1 100755 --- a/examples/gras/rpc/test_rl.tesh +++ b/examples/gras/rpc/test_rl.tesh @@ -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 diff --git a/examples/gras/rpc/test_sg_32.tesh b/examples/gras/rpc/test_sg_32.tesh index ccca0b7ba5..77e0c65ec5 100644 --- a/examples/gras/rpc/test_sg_32.tesh +++ b/examples/gras/rpc/test_sg_32.tesh @@ -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) diff --git a/examples/gras/rpc/test_sg_64.tesh b/examples/gras/rpc/test_sg_64.tesh index ccca0b7ba5..77e0c65ec5 100755 --- a/examples/gras/rpc/test_sg_64.tesh +++ b/examples/gras/rpc/test_sg_64.tesh @@ -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) -- 2.20.1