Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix LibGit2 test: unknown repo now returns error instead of EAUTH #32219

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

JeffBezanson
Copy link
Member

This test literally has my name on it so I figure this is my job :)

This may not be an ideal fix, depending on the intent of this test. If it's just checking what happens with an unknown URL, it's ok, but if we need to test incorrect credentials we need to do something else.

Fixes #32186

@JeffBezanson JeffBezanson added test This change adds or pertains to unit tests libgit2 The libgit2 library or the LibGit2 stdlib module labels Jun 1, 2019
@musm musm mentioned this pull request Jun 3, 2019
@vtjnash vtjnash merged commit 4d7e78b into master Jun 3, 2019
@vtjnash vtjnash deleted the jb/libgit2error branch June 3, 2019 16:32
@vtjnash
Copy link
Member

vtjnash commented Jun 3, 2019

The comments in this test says the intent is to test the behavior of hitting an unknown repo, and the credentials are just there because GitHub would ask for them before responding.

@JeffBezanson
Copy link
Member Author

Needs to be backported so ci can pass on release branches.

JeffBezanson added a commit that referenced this pull request Jun 6, 2019
JeffBezanson added a commit that referenced this pull request Jun 7, 2019
@Keno
Copy link
Member

Keno commented Jun 8, 2019

Seems back to EAUTH? https://travis-ci.org/JuliaLang/julia/jobs/542982697? Maybe just allow both errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libgit2 The libgit2 library or the LibGit2 stdlib module test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LibGit2 error in CI
4 participants