Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Race conditions on gitit-users and .git/index.lock #269

Open
sakari opened this Issue · 0 comments

1 participant

@sakari

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.