Commit ef4dba3e authored by Karol Latecki's avatar Karol Latecki Committed by Daniel Verkamp
Browse files

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: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/399655


Reviewed-by: default avatarPawel Kaminski <pawelx.kaminski@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 261b5de9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -956,9 +956,9 @@ class TestCases(object):
                                                   uuid_store,
                                                   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]
        size = int(_["free_clusters"] / 10)
        size = int(_["free_clusters"] / 50)

        for i in range(5):
            uuid_bdev = self.c.construct_lvol_bdev(uuid_store,
+1 −1
Original line number Diff line number Diff line
@@ -675,7 +675,7 @@ Steps:
- construct lvol store on NVMe bdev
- using get_lvol_stores command verify lvol store was correctly created
- 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)
- using get_bdevs command verify lvol bdevs were correctly created
- shutdown vhost application by sending SIGTERM signal