test/lvol: lower size of bdev in test case 700
Using lower size of bdev might speed up test a little bit and is enough for this case. Change-Id: Iaba1b8a771aef58c7b26a880cd351c2ec33f27f2 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/399655 Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
261b5de903
commit
ef4dba3ed5
@ -956,9 +956,9 @@ class TestCases(object):
|
|||||||
uuid_store,
|
uuid_store,
|
||||||
self.cluster_size)
|
self.cluster_size)
|
||||||
|
|
||||||
# size = approx 10% of total NVMe disk size
|
# size = approx 2% of total NVMe disk size
|
||||||
_ = self.c.get_lvol_stores()[0]
|
_ = self.c.get_lvol_stores()[0]
|
||||||
size = int(_["free_clusters"] / 10)
|
size = int(_["free_clusters"] / 50)
|
||||||
|
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
uuid_bdev = self.c.construct_lvol_bdev(uuid_store,
|
uuid_bdev = self.c.construct_lvol_bdev(uuid_store,
|
||||||
|
@ -675,7 +675,7 @@ Steps:
|
|||||||
- construct lvol store on NVMe bdev
|
- construct lvol store on NVMe bdev
|
||||||
- using get_lvol_stores command verify lvol store was correctly created
|
- using get_lvol_stores command verify lvol store was correctly created
|
||||||
- construct five lvol bdevs on previously created lvol store;
|
- construct five lvol bdevs on previously created lvol store;
|
||||||
each lvol bdev size is approximately equal to 10% of total lvol store size
|
each lvol bdev size is approximately equal to 2% of total lvol store size
|
||||||
(approximately because of the lvol metadata which consumes some of the space)
|
(approximately because of the lvol metadata which consumes some of the space)
|
||||||
- using get_bdevs command verify lvol bdevs were correctly created
|
- using get_bdevs command verify lvol bdevs were correctly created
|
||||||
- shutdown vhost application by sending SIGTERM signal
|
- shutdown vhost application by sending SIGTERM signal
|
||||||
|
Loading…
Reference in New Issue
Block a user