Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
first try at killing GRAS -- does not compile yet
[simgrid.git] / examples / gras / rpc / test_rl.tesh
diff --git a/examples/gras/rpc/test_rl.tesh b/examples/gras/rpc/test_rl.tesh
deleted file mode 100755 (executable)
index 394c8fd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-! timeout 10
-
-! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./rpc_server$EXEEXT 4202 --log=root.fmt:%m%n $@
-> Launch server (port=4202)
-> Listening on port 4202
-> Got message PING(1234) from 127.0.0.1:5002
-> Answered with PONG(4321)
-> Asked to die by 127.0.0.1:5002
-> Done.
-> Exiting GRAS
-
-! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./rpc_forwarder$EXEEXT 4203 127.0.0.1 4202 --log=root.fmt:%m%n $@
-> Launch forwarder (port=4203)
-> Forward a request
-> Forward a request
-> Forward a request
-> Forward a request
-> Forward a request
-> Asked to die by 127.0.0.1:5002
-> Done.
-> Exiting GRAS
-
-# give the server and the forwarder  a chance to acquire the expected port numbers
-$ $SG_TEST_EXENV sleep 1
-
-! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./rpc_client$EXEEXT 127.0.0.1 4202 127.0.0.1 4203 --log=root.fmt:%m%n $@
-> Launch client (server on 127.0.0.1:4202)
-> Connected to 127.0.0.1:4202.
-> Connected to server which is on 127.0.0.1:4202
-> The answer to PING(1234) on 127.0.0.1:4202 is PONG(4321)
-> Call the exception raising RPC
-> Got the expected exception when calling the exception raising RPC
-> Called the exception raising RPC
-> Call the exception raising RPC (i=0)
-> Call the exception raising RPC (i=1)
-> Call the exception raising RPC (i=2)
-> Call the exception raising RPC (i=3)
-> Call the exception raising RPC (i=4)
-> Call the exception raising RPC on the forwarder (i=0)
-> Got the expected exception when calling the exception raising RPC
-> Call the exception raising RPC on the forwarder (i=1)
-> Got the expected exception when calling the exception raising RPC
-> Call the exception raising RPC on the forwarder (i=2)
-> Got the expected exception when calling the exception raising RPC
-> Call the exception raising RPC on the forwarder (i=3)
-> Got the expected exception when calling the exception raising RPC
-> Call the exception raising RPC on the forwarder (i=4)
-> Got the expected exception when calling the exception raising RPC
-> Ask 127.0.0.1:4203 to die
-> Ask 127.0.0.1:4202 to die
-> Done.
-> Exiting GRAS