Skip to content

Remove DockerTrustSuite to docker/cli e2e tests#36515

Merged
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:migrate-trusted-suite
Mar 21, 2018
Merged

Remove DockerTrustSuite to docker/cli e2e tests#36515
vdemeester merged 1 commit intomoby:masterfrom
vdemeester:migrate-trusted-suite

Conversation

@vdemeester
Copy link
Copy Markdown
Member

Remove DockerTrustSuite as it's client-side only and migrate those tests to docker/cli e2e tests.

See docker/cli#924

cc @endophage @n4ss

Still wip as there is still 6 tests to migrate and removing DockerTrustSuite altogether

Signed-off-by: Vincent Demeester [email protected]

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.

This looks like a CLI-only test. I'll port this to a cli unit test so you can remove it here.

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.

Added to docker/cli in docker/cli#925

@vdemeester vdemeester force-pushed the migrate-trusted-suite branch from 7ef9f46 to a7828a4 Compare March 7, 2018 18:28
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 7, 2018

Codecov Report

Merging #36515 into master will increase coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #36515      +/-   ##
==========================================
+ Coverage   34.85%   35.11%   +0.26%     
==========================================
  Files         612      612              
  Lines       45445    45435      -10     
==========================================
+ Hits        15838    15956     +118     
+ Misses      27537    27373     -164     
- Partials     2070     2106      +36

@vdemeester vdemeester force-pushed the migrate-trusted-suite branch from a7828a4 to 35a97fd Compare March 7, 2018 18:36
Comment thread internal/test/registry/registry.go Outdated
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.

Can we leave these 3 files under integration-cli ?

I'm not sure we want this for integration/.

We should just be running a v2 registry in a docker image instead of building a binary, or using a mock for integration testing. A lot of this seems to be an implementation of a client library, that should already exist as a library somewhere.

Comment thread integration/image/remove_test.go Outdated
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.

where is this used?

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.

oh it was to port some registry tests to this one but shouldn't have commited that 😅

@vdemeester vdemeester force-pushed the migrate-trusted-suite branch 2 times, most recently from d2af0f5 to c9898e3 Compare March 8, 2018 10:48
Copy link
Copy Markdown

@n4ss n4ss left a comment

Choose a reason for hiding this comment

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

LGTM besides the small nit of the unused bit. Review done IRL :D

Comment thread integration/image/main_test.go Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What's this for?

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.

remove this? I think it's unused.

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.

Oups.. forgot to commit+push 😅

@vdemeester vdemeester changed the title [wip] Remove DockerTrustSuite to docker/cli e2e tests Remove DockerTrustSuite to docker/cli e2e tests Mar 13, 2018
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

@vdemeester
Copy link
Copy Markdown
Member Author

experimental flakyness unrelated, merging 👼

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.

6 participants