jgit/org.eclipse.jgit.junit
Matthias Sohn 7f92a70fb3 Avoid setup and saving FileStoreAttributes compete for ~/.gitconfig lock
FS determines FileStore attributes in a background thread and tries to
save the results to the global git configuration. This competed with
LocalDiskRepositoryTestCase#setup trying to save changes to the same
file requiring the same lock. This frequently led to one of the threads
failing to acquire the lock.

Fix this by first initiating determination of FileStore attributes which
then uses a MockSystemReader not using a userConfig stored to disk which
avoids this race for the lock.

Change-Id: I30fcd96bc15100f8ef9b2a9eb3320bb5ace97c67
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2019-08-16 16:51:45 +02:00
..
.settings Fix org.eclipse.jdt.core.prefs of org.eclipse.jgit.junit 2019-07-24 16:21:53 +02:00
META-INF Prepare 5.1.9-SNAPSHOT builds 2019-06-05 15:23:56 +02:00
src/org/eclipse/jgit/junit Avoid setup and saving FileStoreAttributes compete for ~/.gitconfig lock 2019-08-16 16:51:45 +02:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
BUILD Bazel: Restrict src globs to Java source files 2017-04-13 14:14:55 +09:00
build.properties Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 5.1.9-SNAPSHOT builds 2019-06-05 15:23:56 +02:00