numam-spdk/test/vhost
Pawel Wodkowski 651d9158a0 test: consolidate tests for reading JSON config
This patch rework all JSON config file reading tests. This is needed as
current approach will require to modify each test to re-launch SPDK
applications for each test type. This is hard to do because tests are
not flexible and will require to be rewritten almost from scratch. Not
metioning time to relaunch each test separatly.

Instead, just replace all old tests with one test. Launch only one
target and only one initiator. Then configure it using RPC calls. Then
config is dumped and target and initiator application is relaunched to
reread the configuration from file. Then config is dumped again and
compared.

Change-Id: Id857089aed0e6f2197cbf3ae625a4e9f4b13e8bb
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/432318
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2019-01-16 14:17:10 +00:00
..
common test/vhost: allow vm_setup to boot vm from vhost controller 2018-10-04 21:35:24 +00:00
fiotest test/vhost: add fio and lvol integrity cases with raid bdev 2018-11-29 23:59:48 +00:00
hotplug scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
initiator test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
integrity scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
lvol scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
migration test/vhost: Fix vhost live migration 2018-10-15 22:49:06 +00:00
other scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
perf_bench scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
readonly bdev: add delete_nvme_bdev call 2018-07-26 22:07:50 +00:00
vhost_boot test: modprobe nbd at the start of autotest 2018-11-26 18:17:28 +00:00
spdk_vhost.sh test/vhost: fix vhost nightly test 2018-12-10 22:02:39 +00:00
test_plan.md test/vhost: remove virsh use from filesystem test 2018-03-23 04:08:28 -04:00
vhost.sh test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00