add break when found in TestVolumeCLICreateWithOpts()

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: feadc5171a9ea5489964b0639135a1bd00e0eb8a
Component: engine
This commit is contained in:
lixiaobing10051267
2016-12-08 15:59:52 +08:00
parent a09c35f1e8
commit b5c8edab7f
@@ -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)