Spdk/test/iscsi_tgt
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
..
bdev_io_wait scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
calsoft test/iscsi: fix support for python 3.6 in calsoft.py 2019-01-14 05:45:35 +00:00
digests scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ext4test test/iscsi: exclude *.o from ext4test.sh rsync 2018-10-15 22:20:17 +00:00
filesystem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
fio test/iscsi_tgt: Port running_config test to JSON config and re-enable it. 2018-11-19 18:17:22 +00:00
initiator scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ip_migration test/iscsi_tgt: Move ip_migration test from nightly to per-patch 2019-01-08 13:27:25 +00:00
lvol test/iscsi: add fio and lvol test cases with raid bdev 2018-09-15 00:16:50 +00:00
multiconnection scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
nvme_remote test/nvmf: Use create_transport instead of set_tgt_opts 2018-10-12 16:30:24 +00:00
perf test: mark iscsi_initiator.sh as executable 2018-12-19 19:16:08 +00:00
pmem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
qos test: update qos.sh to add new test cases 2018-12-07 17:15:41 +00:00
rbd scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
reset scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
rpc_config test/iscsi_tgt: fixup bytes to str for python 3.5 2018-12-17 19:41:15 +00:00
sock libsock: add functional tests 2018-11-07 17:08:27 +00:00
common.sh libsock: add functional tests 2018-11-07 17:08:27 +00:00
iscsi_tgt.sh test/iscsi_tgt: Move ip_migration test from nightly to per-patch 2019-01-08 13:27:25 +00:00
test_plan.md test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00