[lxc-devel] [lxd/master] test: Tunes ZFS quota tests after intermittent failures

tomponline on Github lxc-bot at linuxcontainers.org
Mon Sep 9 16:12:41 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190909/b0074b0c/attachment.bin>
-------------- next part --------------
From f1f5d6eb99e7f9f6c67342d291484c0afe457a3f Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Mon, 9 Sep 2019 17:12:06 +0100
Subject: [PATCH] test: Tunes ZFS quota tests after intermittent failures

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
 test/suites/storage.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/suites/storage.sh b/test/suites/storage.sh
index c5ba3f17ec..ab5a4f28fb 100644
--- a/test/suites/storage.sh
+++ b/test/suites/storage.sh
@@ -781,8 +781,8 @@ test_storage() {
   if [ "$lxd_backend" != "dir" ]; then
     lxc launch testimage quota1
     rootOrigSizeKB=$(lxc exec quota1 -- df -P / | tail -n1 | awk '{print $2}')
-    rootOrigMinSizeKB=$((rootOrigSizeKB-1000))
-    rootOrigMaxSizeKB=$((rootOrigSizeKB+1000))
+    rootOrigMinSizeKB=$((rootOrigSizeKB-2000))
+    rootOrigMaxSizeKB=$((rootOrigSizeKB+2000))
 
     lxc profile device set default root size "${QUOTA1}"
     lxc stop -f quota1


More information about the lxc-devel mailing list