add break when found in TestVolumeCLICreateWithOpts()
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
parent
9d898b872e
commit
feadc5171a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue