Skip to content

Conversation

@dnephin
Copy link
Contributor

@dnephin dnephin commented Mar 6, 2018

This test has been a thorn in my side for a long time. Every time I run unit tests for the image package it prompts for credentials and I have to hit enter a couple times for the test to run.

The ideal fix would be to refactor runBuild (#294) so that we can unit test the logic without actually performing a clone. Since that PR is stalled out this change will at least remedy the immediate problem.

Instead of using a non-existant repo, use a very small repo.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
@codecov-io
Copy link

codecov-io commented Mar 6, 2018

Codecov Report

Merging #920 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #920      +/-   ##
==========================================
- Coverage   53.55%   53.54%   -0.01%     
==========================================
  Files         262      262              
  Lines       16602    16602              
==========================================
- Hits         8891     8890       -1     
- Misses       7121     7122       +1     
  Partials      590      590

Copy link
Collaborator

@vdemeester vdemeester 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
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.

This test has been a thorn in my side for a long time.

Guilty as charged 😂

LGTM, thanks for this!

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