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 git config test failure #2836

Merged
merged 1 commit into from
Oct 24, 2016

Conversation

amisevsk
Copy link
Contributor

What does this PR do?

Changes property used for testing git config implementation to an unused one instead of difftool.prompt.

What issues does this PR fix or reference?

Fixes issue with running tests in che-core-git-impl-jgit when difftool.prompt option is set globally.

Previous behavior

JGit pulls the global config file when creating a repository. While running tests, if difftool.prompt is set in the global .gitconfig file, this will causes tests to fail while building Che Core :: Git Impl JGit.

New behavior

Changes ConfigTest.java to use nonsense property test.prop, so that there is no conflict.

Signed-off-by: Angel Misevski [email protected]

Change git config property used in tests to a test property instead
of an existing one (difftool.prompt).

Signed-off-by: Angel Misevski <[email protected]>
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@TylerJewell TylerJewell added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Oct 19, 2016
@TylerJewell TylerJewell added this to the 5.0.0-M6 milestone Oct 19, 2016
@TylerJewell
Copy link

lgtm - @vkuznyetsov?

@benoitf
Copy link
Contributor

benoitf commented Oct 19, 2016

ci-build

@codenvy-ci
Copy link

Build # 746 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/746/ to view the results.

@vinokurig vinokurig merged commit 780c97c into eclipse-che:master Oct 24, 2016
@amisevsk amisevsk deleted the fix-git-config-test branch December 6, 2016 22:05
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
Change git config property used in tests to a test property instead
of an existing one (difftool.prompt).

Signed-off-by: Angel Misevski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants