mirror of https://github.com/docker/docs.git
update load-image integration test
Signed-off-by: Xian Chaobo <xianchaobo@huawei.com>
This commit is contained in:
parent
f7d9a96785
commit
820804b108
|
|
@ -5,8 +5,8 @@ load helpers
|
|||
IMAGE_FILE=$(mktemp)
|
||||
|
||||
function teardown() {
|
||||
stop_manager
|
||||
stop_docker
|
||||
swarm_manage_cleanup
|
||||
rm -f $IMAGE_FILE
|
||||
}
|
||||
|
||||
|
|
@ -16,9 +16,9 @@ function teardown() {
|
|||
docker save -o $IMAGE_FILE busybox:latest
|
||||
|
||||
start_docker 2
|
||||
start_manager
|
||||
swarm_manage
|
||||
|
||||
run docker_swarm -i $IMAGE_FILE
|
||||
run docker_swarm load -i $IMAGE_FILE
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
run docker -H ${HOSTS[0]} images
|
||||
|
|
|
|||
Loading…
Reference in New Issue