test/setup: Add some overhead to min_disk_size
Under CI's phy systems, there are nvme namespace devices which are == 2GB in size. This require some overhead as the test creates two partitions 1GB each + the partition table. Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I9d0a5bbbd2cb61bc98bf1a1569229c156dfaac70 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16777 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
d6c42f87e8
commit
b25f630467
@ -193,7 +193,7 @@ get_zoned_devs
|
||||
|
||||
declare -a blocks=()
|
||||
declare -A blocks_to_pci=()
|
||||
min_disk_size=$((1024 ** 3 * 2)) # 2GB
|
||||
min_disk_size=$((1024 ** 3 * 3)) # 3GB
|
||||
|
||||
for block in "/sys/block/nvme"*; do
|
||||
pci=$(readlink -f "$block/device/device")
|
||||
|
Loading…
Reference in New Issue
Block a user