From ef4dba3ed5f52e1cc6e3027319fd074906e57378 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Tue, 13 Feb 2018 14:55:34 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/399655 Reviewed-by: Pawel Kaminski Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Daniel Verkamp Reviewed-by: Shuhei Matsumoto --- test/lvol/test_cases.py | 4 ++-- test/lvol/test_plan.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/lvol/test_cases.py b/test/lvol/test_cases.py index e84096809..24bc01ce5 100644 --- a/test/lvol/test_cases.py +++ b/test/lvol/test_cases.py @@ -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, diff --git a/test/lvol/test_plan.md b/test/lvol/test_plan.md index 4b5c7183d..05c3a7eb8 100644 --- a/test/lvol/test_plan.md +++ b/test/lvol/test_plan.md @@ -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