Commit da0e298c by Laurence Rowe Committed by Laurence Rowe

Wait on correct container name

Signed-off-by: 's avatarLaurence Rowe <l@lrowe.co.uk>
parent 212bc241
......@@ -45,7 +45,7 @@ sleep 5s
# The first time this usually fails because CRIU cannot checkpoint things with
# data on a socket.
lxc-checkpoint -n $name -v -s -D /tmp/checkpoint || FAIL "failed checkpointing"
lxc-wait -n u1 -s STOPPED
lxc-wait -n $name -s STOPPED
lxc-checkpoint -n $name -v -r -D /tmp/checkpoint || FAIL "failed restoring"
lxc-stop -n $name -t 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment