From e716c439d5096d7d8e27dd0a6b9e2f00a5e56234 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 9 Jul 2024 13:43:27 -0400 Subject: [PATCH] test/suites/storage: tune quota values Signed-off-by: Simon Deziel --- test/suites/storage.sh | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/test/suites/storage.sh b/test/suites/storage.sh index 742596c46dd9..0a3b29e2d1b5 100644 --- a/test/suites/storage.sh +++ b/test/suites/storage.sh @@ -755,24 +755,13 @@ test_storage() { ) # Test applying quota (expected size ranges are in KB and have an allowable range to account for allocation variations). - QUOTA1="10GB" - rootMinKB1="9456000" - rootMaxKB1="9999999" - - QUOTA2="11GB" - rootMinKB2="10402000" - rootMaxKB2="10744999" - - if [ "$lxd_backend" = "lvm" ]; then - QUOTA1="20MB" - rootMinKB1="14000" - rootMaxKB1="20000" - - # Increase quota enough to require a new 4MB LVM extent. - QUOTA2="25MB" - rootMinKB2="19000" - rootMaxKB2="23000" - fi + QUOTA1="20MiB" + rootMinKB1="13800" + rootMaxKB1="23000" + + QUOTA2="25MiB" + rootMinKB2="18900" + rootMaxKB2="28000" if [ "$lxd_backend" != "dir" ]; then lxc launch testimage quota1