Commit 86536ea3 authored by Philip Carns's avatar Philip Carns
Browse files

fix failing timeout test

- pointed out by Chuck Cranor
parent e002ac44
......@@ -186,10 +186,10 @@ static void run_my_rpc(void *_arg)
printf("Got response ret: %d\n", out.ret);
margo_free_output(handle, &out);
}
else if(hret == HG_TIMEOUT)
printf("margo_forward returned HG_TIMEOUT\n");
else
{
printf("margo_forward returned %d\n", hret);
}
/* clean up resources consumed by this rpc */
margo_bulk_free(in.bulk_handle);
......
......@@ -31,7 +31,7 @@ fi
# check output; look for four "returned 18" to indicate HG_TIMEOUT in the four
# concurrent RPCs
LINECOUNT=$(grep "returned 18" $TMPOUT | wc -l)
LINECOUNT=$(grep "returned HG_TIMEOUT" $TMPOUT | wc -l)
if [ $LINECOUNT -ne 4 ]; then
rm -rf $TMPOUT
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment