add break when found in TestVolumeCLICreateWithOpts()

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-12-08 15:59:52 +08:00
parent 9d898b872e
commit feadc5171a
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ func (s *DockerSuite) TestVolumeCLICreateWithOpts(c *check.C) {
c.Assert(info[4], checker.Equals, "tmpfs")
c.Assert(info[5], checker.Contains, "uid=1000")
c.Assert(info[5], checker.Contains, "size=1024k")
break
}
}
c.Assert(found, checker.Equals, true)