numam-spdk/test/rpc_client
Jim Harris acea7bbce4 test/rpc_client_test: remove g_rpc_server_th_done sem_t
The pthread_join() is sufficient.  The server thread really
shouldn't take 1 second to run, but when running in a VM
it's possible things are getting scheduled such that the
timer expires.  This should not be a concern of this test
though - it should just test that the rpc server/client
functionality is working as intended.  So remove the
sem_t that was timing out.

Note: I kept the other sem_t's in here for now.  Maybe
they should be removed too, but for now my main intention
was to fix this annoying intermittent failure.

While here, fix some typos and cases where we should be
printing "server" instead of "client".

I think this fixes issue #839.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I647d0b9c5faa9ccac53e6f6387757bb5a7649b5c

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473490
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-11-07 22:53:21 +00:00
..
.gitignore jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
Makefile build: move app rules to spdk.app.mk 2018-12-12 22:35:21 +00:00
rpc_client_test.c test/rpc_client_test: remove g_rpc_server_th_done sem_t 2019-11-07 22:53:21 +00:00
rpc_client.sh test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00