integration-cli: Use different label in TestBuildMultiStageGlobalArg
To avoid collision with TestBuildMultiStageArg. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
081b74b97d
commit
c0ece8d4f3
1 changed files with 2 additions and 2 deletions
|
@ -4642,7 +4642,7 @@ func (s *DockerCLIBuildSuite) TestBuildMultiStageGlobalArg(c *testing.T) {
|
|||
imgName := "multifrombldargtest"
|
||||
dockerfile := `ARG tag=nosuchtag
|
||||
FROM busybox:${tag}
|
||||
LABEL multifromtest=1
|
||||
LABEL multifromtest2=1
|
||||
RUN env > /out
|
||||
FROM busybox:${tag}
|
||||
ARG tag
|
||||
|
@ -4653,7 +4653,7 @@ func (s *DockerCLIBuildSuite) TestBuildMultiStageGlobalArg(c *testing.T) {
|
|||
cli.WithFlags("--build-arg", "tag=latest"))
|
||||
result.Assert(c, icmd.Success)
|
||||
|
||||
result = cli.DockerCmd(c, "images", "-q", "-f", "label=multifromtest=1")
|
||||
result = cli.DockerCmd(c, "images", "-q", "-f", "label=multifromtest2=1")
|
||||
result.Assert(c, icmd.Success)
|
||||
|
||||
imgs := strings.Split(strings.TrimSpace(result.Stdout()), "\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue