The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6582

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 9986f2f416b24d73f0cebbbb35abfe7d29854c2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Mon, 9 Dec 2019 17:23:46 -0500
Subject: [PATCH] tests: Always pass --force
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 test/suites/image_profiles.sh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/test/suites/image_profiles.sh b/test/suites/image_profiles.sh
index 5aae2fc5dd..3321ea7ba8 100644
--- a/test/suites/image_profiles.sh
+++ b/test/suites/image_profiles.sh
@@ -5,8 +5,7 @@ test_image_nil_profile_list() {
   lxc info c1 | grep -q "Profiles: default" || false
 
   # Cleanup
-  lxc stop c1
-  lxc delete c1
+  lxc delete c1 -f
   lxc image delete testimage
 }
 
@@ -25,8 +24,7 @@ test_image_empty_profile_list() {
   lxc info c1 | grep -q "Profiles: $" || false
 
   # Cleanup
-  lxc stop c1
-  lxc delete c1
+  lxc delete c1 -f
   lxc image delete testimage
 }
 
@@ -51,8 +49,7 @@ test_image_alternate_profile_list() {
   lxc info c1 | grep -q "Profiles: p1, p2, p3" || false
 
   # Cleanup
-  lxc stop c1
-  lxc delete c1
+  lxc delete c1 -f
   lxc profile delete p1
   lxc profile delete p2
   lxc profile delete p3
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to