Sfoglia il codice sorgente

Merge pull request #29237 from lixiaobing10051267/masterBreak

add break when found in TestVolumeCLICreateWithOpts()
Sebastiaan van Stijn 8 anni fa
parent
commit
16157034f6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      integration-cli/docker_cli_volume_test.go

+ 1 - 0
integration-cli/docker_cli_volume_test.go

@@ -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)