From 03c71d37419d911dec59d9f8b3969a702e170f40 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Thu, 7 Nov 2019 18:18:20 +0100 Subject: [PATCH] test/vhost: update raid bdev entries in config file Edited config file is loaded in test via rpc.py load_config. Because of that, each parameter is sent "as-is" from config file, as opposed to using rpc.py bdev_create_raid which would cause argparse to convert all params to desired type. Commit 445e667 changed raid_level to enum while this config file still used int which caused nightly tests to fail. Change-Id: I729c7263261c73e255ab2e6071f76219a351cb19 Signed-off-by: Karol Latecki Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473565 Community-CI: Broadcom SPDK FC-NVMe CI Tested-by: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Ben Walker Reviewed-by: Ziye Yang Reviewed-by: Seth Howell --- test/vhost/fiotest/conf.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/vhost/fiotest/conf.json b/test/vhost/fiotest/conf.json index d9ff86b6d..5b66d32de 100644 --- a/test/vhost/fiotest/conf.json +++ b/test/vhost/fiotest/conf.json @@ -82,7 +82,7 @@ "params": { "name": "RaidBdev0", "strip_size": 128, - "raid_level": 0, + "raid_level": "0", "base_bdevs": [ "Malloc2", "Malloc3" @@ -94,7 +94,7 @@ "params": { "name": "RaidBdev1", "strip_size": 128, - "raid_level": 0, + "raid_level": "0", "base_bdevs": [ "Nvme0n1p2", "Malloc4" @@ -106,7 +106,7 @@ "params": { "name": "RaidBdev2", "strip_size": 128, - "raid_level": 0, + "raid_level": "0", "base_bdevs": [ "Malloc5", "Malloc6"