test/lvol: Remove unsupported test
Removing test for lvol bdev resize as it is not supported Change-Id: I73284f2260e595bfa5db2c24d2e37fcd1b255bd8 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/383086 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
3788c907bb
commit
392fdc8a89
@ -126,7 +126,7 @@ if [ $SPDK_TEST_VHOST -eq 1 ]; then
|
||||
run_test ./test/vhost/spdk_vhost.sh --integrity
|
||||
run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-scsi
|
||||
run_test ./test/vhost/spdk_vhost.sh --integrity-lvol-blk
|
||||
run_test ./test/lvol/lvol.sh --test-cases=1,2,3,5,6,7,9,10,11,12,13,16,17,21
|
||||
run_test ./test/lvol/lvol.sh --test-cases=1,2,3,5,6,7,10,11,12,13,16,17,21
|
||||
timing_exit vhost
|
||||
fi
|
||||
|
||||
|
@ -202,11 +202,14 @@ class TestCases(object):
|
||||
uuid_bdev = self.c.construct_lvol_bdev(uuid_store, size)
|
||||
fail_count += self.c.check_get_bdevs_methods(uuid_bdev,
|
||||
size)
|
||||
self.c.resize_lvol_bdev(uuid_bdev, size + 1)
|
||||
self.c.resize_lvol_bdev(uuid_bdev, size * 2)
|
||||
self.c.resize_lvol_bdev(uuid_bdev, size * 3)
|
||||
self.c.resize_lvol_bdev(uuid_bdev, (size * 4) - 1)
|
||||
self.c.resize_lvol_bdev(uuid_bdev, 0)
|
||||
|
||||
# TODO: Improve resize_lvol_bdev tests to verify if bdev was actually
|
||||
# correctly resized
|
||||
fail_count += self.c.resize_lvol_bdev(uuid_bdev, size + 1)
|
||||
fail_count += self.c.resize_lvol_bdev(uuid_bdev, size * 2)
|
||||
fail_count += self.c.resize_lvol_bdev(uuid_bdev, size * 3)
|
||||
fail_count += self.c.resize_lvol_bdev(uuid_bdev, (size * 4) - 1)
|
||||
fail_count += self.c.resize_lvol_bdev(uuid_bdev, 0)
|
||||
|
||||
self.c.destroy_lvol_store(uuid_store)
|
||||
fail_count += self.c.check_get_lvol_stores("", "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user