[lxc-devel] [lxd/master] tests: Always use 10Mib volumes for LVM

stgraber on Github lxc-bot at linuxcontainers.org
Tue Feb 21 07:56:43 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170221/0e338ef4/attachment.bin>
-------------- next part --------------
From 24bc80456f982c85401d3c4cef8b5637792d2938 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 21 Feb 2017 02:56:15 -0500
Subject: [PATCH] tests: Always use 10Mib volumes for LVM
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 test/suites/storage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/suites/storage.sh b/test/suites/storage.sh
index 4eddeaf..b32ddf9 100644
--- a/test/suites/storage.sh
+++ b/test/suites/storage.sh
@@ -52,7 +52,7 @@ test_storage() {
       # Create lvm pool.
       configure_lvm_loop_device loop_file_3 loop_device_3
       # shellcheck disable=SC2154
-      lxc storage create "lxdtest-$(basename "${LXD_DIR}")-pool6" lvm source="${loop_device_3}"
+      lxc storage create "lxdtest-$(basename "${LXD_DIR}")-pool6" lvm source="${loop_device_3}" volume.size=10MB
     fi
 
     # Set default storage pool for image import.


More information about the lxc-devel mailing list