numam-spdk/test/json_config
Rui Chang d424e2449a test/json_config: Fix json_config test fail for multiple nvme disk config
In json_config test, when there are multiple nvme disks, we see errors like:

ERROR: expected event 'bdev_register:Nvme0n1p1' but got 'bdev_register:Nvme1n1' (whole event line: bdev_register:Nvme1n1:1)

The reason is when there are multiple nvme disks in the system, when
start nvmf_tgt, it will register all the disks in bdev, so there would
be multiple bdev_register events for these disks before we run
create_bdev_subsystem_config. So in create_bdev_subsystem_config we need
add these events to expected events list first.

Signed-off-by: Rui Chang <rui.chang@arm.com>
Change-Id: Ice8f5464975e68ae63fec891ef18dbc7590a9ab5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7858
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Michal Berger <michalx.berger@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-05-18 12:44:35 +00:00
..
alias_rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
clear_config.py sock: Save socket subsystem configuration in JSON format 2020-07-13 08:40:15 +00:00
config_filter.py lib/bdev: build bdev_wait_for_examine into subsystem 2021-01-15 08:28:57 +00:00
json_config.sh test/json_config: Fix json_config test fail for multiple nvme disk config 2021-05-18 12:44:35 +00:00
json_diff.sh test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00