提交 09016fc0 编写于 作者: W WangFengTu 提交者: lifeng68

add testcase for concurrent pull images

Signed-off-by: NWangFengTu <wangfengtu@huawei.com>
上级 ec2b357a
......@@ -25,15 +25,20 @@ source ../helpers.bash
function isula_pull()
{
isula rm -f `isula ps -a -q`
isula rmi busybox
for i in `seq 1 10`
do
isula pull busybox &
done
isula pull busybox
fn_check_eq "$?" "0" "isula pull busybox"
wait
isula inspect busybox
fn_check_eq "$?" "0" "isula inspect busybox"
isula rm -f `isula ps -a -q`
isula rmi centos
isula pull hub-mirror.c.163.com/library/busybox
fn_check_eq "$?" "0" "isula pull hub-mirror.c.163.com/library/busybox"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册