Skip to content

Migrate test-integration-cli experimental build tests to integration#36746

Merged
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:experimental-build-tests
Apr 9, 2018
Merged

Migrate test-integration-cli experimental build tests to integration#36746
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:experimental-build-tests

Conversation

@vdemeester
Copy link
Copy Markdown
Member

All docker build tests that require an ExperimentalDaemon are
migrated to integration/build package and start an experimental
daemon to test on it.

The end goal being to remove the experimental builds.

Signed-off-by: Vincent Demeester vincent@sbr.pm

All `docker build` tests that require an `ExperimentalDaemon` are
migrated to `integration/build` package and start an experimental
daemon to test on it.

The end goal being to remove the `experimental` builds.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
}

// FIXME(vdemeester) should migrate to docker/cli tests
func (s *DockerSuite) TestBuildIidFileSquash(c *check.C) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working on writing the test on docker/cli 👼

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@1d59c66). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #36746   +/-   ##
=========================================
  Coverage          ?   34.95%           
=========================================
  Files             ?      613           
  Lines             ?    45565           
  Branches          ?        0           
=========================================
  Hits              ?    15928           
  Misses            ?    27549           
  Partials          ?     2088

Copy link
Copy Markdown
Contributor

@arm64b arm64b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

container.WithImage(name),
container.WithCmd("/bin/sh", "-c", "[ ! -f /remove_me ]"),
)
container.Run(t, ctx, client,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: these two runs can probably be combined

Copy link
Copy Markdown
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants