Title: UT fail: Key difference for key: 'git.build.user.name' · Issue #593 · git-commit-id/git-commit-id-maven-plugin · GitHub
Open Graph Title: UT fail: Key difference for key: 'git.build.user.name' · Issue #593 · git-commit-id/git-commit-id-maven-plugin
X Title: UT fail: Key difference for key: 'git.build.user.name' · Issue #593 · git-commit-id/git-commit-id-maven-plugin
Description: Describe the bug UT fail with log: [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/_...
Open Graph Description: Describe the bug UT fail with log: [ERROR] Failures: [ERROR] NativeAndJGitProviderTest.testCompareBasic:64->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=L...
X Description: Describe the bug UT fail with log: [ERROR] Failures: [ERROR] NativeAndJGitProviderTest.testCompareBasic:64->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; ...
Opengraph URL: https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/593
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UT fail: Key difference for key: 'git.build.user.name'","articleBody":"### Describe the bug\r\nUT fail with log:\r\n\r\n```\r\n[ERROR] Failures:\r\n[ERROR] NativeAndJGitProviderTest.testCompareBasic:64-\u003everifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:\u003c[]\u003e but was:\u003c[Local User Name]\u003e\r\n[ERROR] NativeAndJGitProviderTest.testCompareIso8601Time:100-\u003everifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:\u003c[]\u003e but was:\u003c[Local User Name]\u003e\r\n[ERROR] NativeAndJGitProviderTest.testCompareSubrepoInChild:88-\u003everifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:\u003c[]\u003e but was:\u003c[Local User Name]\u003e\r\n[ERROR] NativeAndJGitProviderTest.testCompareSubrepoInRoot:76-\u003everifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=Local User Name; for src/test/resources/_git_with_no_changes expected:\u003c[]\u003e but was:\u003c[Local User Name]\u003e\r\n[INFO]\r\n[ERROR] Tests run: 185, Failures: 4, Errors: 0, Skipped: 1\r\n\r\n```\r\n\r\n### Steps to Reproduce\r\n- check latest code on master branch\r\n- create Second user-specific config at ~/.config/git/config\r\n- `git config --global user.name \"Local User Name\"` if not set before\r\n- mvn test\r\n\r\n### Expected behavior\r\n- `mvn test` successes\r\n\r\n### Additional context\r\nThe jgit seems not respect the Second user-specific configuration file at ~/.config/git/config ([issue](https://bugs.eclipse.org/bugs/show_bug.cgi?id=430194)), whereas native git does.","author":{"url":"https://github.com/gzm55","@type":"Person","name":"gzm55"},"datePublished":"2022-07-13T03:53:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/593/git-commit-id-maven-plugin/issues/593"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a097c61b-cc67-b58e-ad75-3614a3c441ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 850A:3B5BF:1C91F89:24E7D83:69909B55 |
| html-safe-nonce | dadec596ff05fcc9e0fcb4994b538f70dbacdd915c83aa54e323a33f1084d317 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTBBOjNCNUJGOjFDOTFGODk6MjRFN0Q4Mzo2OTkwOUI1NSIsInZpc2l0b3JfaWQiOiI5MTkwMjEwNjgyMDMyNzkwMzU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 485062c7136b1044983d2891a37e70a3850287e0a9176d04366f217b800ea1de |
| hovercard-subject-tag | issue:1302867458 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/git-commit-id/git-commit-id-maven-plugin/593/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ff91a37fcae9643a8a983181b53a8670bf21577990297837b6b31218c167caa/git-commit-id/git-commit-id-maven-plugin/issues/593 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ff91a37fcae9643a8a983181b53a8670bf21577990297837b6b31218c167caa/git-commit-id/git-commit-id-maven-plugin/issues/593 |
| og:image:alt | Describe the bug UT fail with log: [ERROR] Failures: [ERROR] NativeAndJGitProviderTest.testCompareBasic:64->verifyNativeAndJGit:128 Key difference for key: 'git.build.user.name'; jgit=; nativeKey=L... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gzm55 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/git-commit-id/git-commit-id-maven-plugin git https://github.com/git-commit-id/git-commit-id-maven-plugin.git |
| octolytics-dimension-user_id | 43124426 |
| octolytics-dimension-user_login | git-commit-id |
| octolytics-dimension-repository_id | 1361792 |
| octolytics-dimension-repository_nwo | git-commit-id/git-commit-id-maven-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1361792 |
| octolytics-dimension-repository_network_root_nwo | git-commit-id/git-commit-id-maven-plugin |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width