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

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: Christian Brauner <[email protected]>
From 6c5e79229490fa5c2ebbce904fd73d8e346c6767 Mon Sep 17 00:00:00 2001
From: Christian Brauner <[email protected]>
Date: Tue, 16 May 2017 14:31:46 +0200
Subject: [PATCH] test: kill and restart

Signed-off-by: Christian Brauner <[email protected]>
---
 test/suites/storage.sh | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/test/suites/storage.sh b/test/suites/storage.sh
index 5f4a069..32d5fdc 100644
--- a/test/suites/storage.sh
+++ b/test/suites/storage.sh
@@ -701,24 +701,33 @@ test_storage() {
   if [ "$lxd_backend" != "dir" ]; then
     lxc launch testimage quota1
     lxc profile device set default root size "${QUOTA1}"
-    lxc restart quota1
+    lxc stop -f quota1
+    lxc start quota1
 
     lxc launch testimage quota2
-    lxc restart quota2
+    lxc stop -f quota2
+    lxc start quota2
 
     lxc init testimage quota3
+    lxc stop -f quota3
     lxc start quota3
 
     lxc profile device set default root size "${QUOTA2}"
 
-    lxc restart quota1
-    lxc restart quota2
-    lxc restart quota3
+    lxc stop -f quota1
+    lxc start quota1
+    lxc stop -f quota2
+    lxc start quota2
+    lxc stop -f quota3
+    lxc start quota3
 
     lxc profile device unset default root size
-    lxc restart quota1
-    lxc restart quota2
-    lxc restart quota3
+    lxc stop -f quota1
+    lxc start quota1
+    lxc stop -f quota2
+    lxc start quota2
+    lxc stop -f quota3
+    lxc start quota3
 
     lxc delete -f quota1
     lxc delete -f quota2
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to