Skip to content

Commit

Permalink
test: kill and restart
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <[email protected]>
  • Loading branch information
Christian Brauner committed May 16, 2017
1 parent 0ced8bc commit bc026c8
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions test/suites/storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -701,24 +701,36 @@ 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 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
Expand Down

0 comments on commit bc026c8

Please sign in to comment.