Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Fix image tag test #658

Merged
merged 2 commits into from Oct 3, 2019
Merged

Fix image tag test #658

merged 2 commits into from Oct 3, 2019

Conversation

eunomie
Copy link
Member

@eunomie eunomie commented Oct 2, 2019

- What I did

docker app image tag contains some tests where the command must fail. But the wrong command was used (and was failing, of course, so the output was the same).
This PR uses the right app image tag command instead of the wrong app bundle tag.

- How I did it

  • replaced bundle by image
  • a second (optional) commit extracted the docker image tag command to make it stronger

- How to verify it

Tests are green

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Oct 2, 2019

Codecov Report

Merging #658 into master will decrease coverage by 0.41%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #658      +/-   ##
==========================================
- Coverage   72.14%   71.73%   -0.42%     
==========================================
  Files          52       52              
  Lines        2675     2643      -32     
==========================================
- Hits         1930     1896      -34     
- Misses        497      502       +5     
+ Partials      248      245       -3
Impacted Files Coverage Δ
render/render.go 80.23% <0%> (-7.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0665684...eeb3270. Read the comment docs.

Improve tests by checking the error message.

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
This allows to remove duplication and avoid to write the wrong command.

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
@glours glours merged commit 81e475c into docker:master Oct 3, 2019
@eunomie eunomie deleted the fix-image-tag-test branch October 3, 2019 08:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants