Race conditions on gitit-users and .git/index.lock
- Dominant language
- Haskell
- Stars
- 2.3k
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
I am using selenium and test-framework to test a simple gitit plugin (mostly to see how well haskell tools work for web testing) . When I run the tests in parallel I get random failures apparently from race conditions:
```
Server error: UnknownError: Could not git commit UniqueString9.page
fatal: Unable to create '/home/sakari/src/gitit-form/gitit-build/wikidata/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
```
and
```
Server error: gitit-users: openFile: resource busy (file is locked)
```
I have a cabalized package at https://sakari@github.com/sakari/gitit-template.git from where you can run the test suite (run the "Basic gitit operations" testGroup, the template stuff needs a hack to gitit to work).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.