Spdk/test
Daniel Verkamp ec1551c598 test/vhost/initiator: fix discover_bdevs usage
discover_bdevs previously took a port number for the RPC service, but
after commit 6bef902ca5 ("rpc: add default UNIX domain socket listen
address"), running rpc.py with just a -p (port) parameter doesn't have
the expected effect, since the default server_addr is now a UNIX domain
socket path, and the port is ignored.

Change discover_bdevs to accept a socket path instead of a port number
to fix the issue for the vhost/initiator test; no other callers use the
disover_bdevs rpc_port argument, so this is the only instance that needs
to change.

Change-Id: I4e290f175ccc79caa3c4ef76c062641b9fe489a8
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/388283
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-21 16:33:55 -05:00
..
app rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
blobfs/rocksdb test/blobfs: add timing for rocksdb benchmarks 2017-09-20 19:33:50 -04:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt test: remove unused test code for iscsi hotplug. 2017-11-17 11:25:39 -05:00
lib event: Pollers must now be unregistered from the thread they run on. 2017-11-17 11:11:23 -05:00
lvol test/lvol: add friendly name specific tests 2017-11-17 18:24:08 -05:00
nvmf rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
pmem rpc: add default UNIX domain socket listen address 2017-11-13 14:57:49 -05:00
unit iscsi: manage IG's name and mask by linked list 2017-11-21 16:06:30 -05:00
vhost test/vhost/initiator: fix discover_bdevs usage 2017-11-21 16:33:55 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00