[lxc-devel] [lxd/master] tests: Delete leftover storage volume

stgraber on Github lxc-bot at linuxcontainers.org
Fri Jul 17 23:26:24 UTC 2020


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/20200717/e338ee85/attachment.bin>
-------------- next part --------------
From 95dd6298cd3ae9f46bfb33bd0f4111576f05b47f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 17 Jul 2020 19:26:06 -0400
Subject: [PATCH] tests: Delete leftover storage volume
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/projects.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/suites/projects.sh b/test/suites/projects.sh
index a815d4118f..a61d48fd50 100644
--- a/test/suites/projects.sh
+++ b/test/suites/projects.sh
@@ -455,6 +455,7 @@ test_projects_storage() {
   lxc storage volume delete "${pool}" vol2
 
   lxc project switch default
+  lxc storage volume delete "${pool}" vol
   lxc project delete foo
 }
 


More information about the lxc-devel mailing list