You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Failures:
[ERROR] NativeAndJGitProviderTest.testCompareBasic:64->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:<[]> but was:<[Local User Name]>
[ERROR] NativeAndJGitProviderTest.testCompareIso8601Time:100->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:<[]> but was:<[Local User Name]>
[ERROR] NativeAndJGitProviderTest.testCompareSubrepoInChild:88->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:<[]> but was:<[Local User Name]>
[ERROR] NativeAndJGitProviderTest.testCompareSubrepoInRoot:76->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:<[]> but was:<[Local User Name]>
[INFO]
[ERROR] Tests run: 185, Failures: 4, Errors: 0, Skipped: 1
Steps to Reproduce
check latest code on master branch
create Second user-specific config at ~/.config/git/config
git config --global user.name "Local User Name" if not set before
mvn test
Expected behavior
mvn test successes
Additional context
The jgit seems not respect the Second user-specific configuration file at ~/.config/git/config (issue), whereas native git does.
The text was updated successfully, but these errors were encountered:
gzm55
changed the title
UT fail on
UT fail: Key difference for key: 'git.build.user.name'
Jul 13, 2022
Describe the bug
UT fail with log:
Steps to Reproduce
git config --global user.name "Local User Name"
if not set beforeExpected behavior
mvn test
successesAdditional context
The jgit seems not respect the Second user-specific configuration file at ~/.config/git/config (issue), whereas native git does.
The text was updated successfully, but these errors were encountered: