diff options
author | Colin Walters <walters@verbum.org> | 2017-12-13 14:27:19 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-14 15:48:38 +0000 |
commit | ad814d1c8abcf8ed27863586301ba47329e273b6 (patch) | |
tree | 2dc5c242f942158669d54b035eff1f233721c43d /tests/test-concurrency.py | |
parent | a9a9445582471d8f80927f347422eb197d1691e5 (diff) | |
download | ostree-ad814d1c8abcf8ed27863586301ba47329e273b6.tar.gz |
lib/repo: Disable locking by default, add locking=true boolean
I want some time to play with this more with different callers and work through
test scenarios. Let's disable the locking by default for now, but make it easy
to enable.
Closes: #1375
Approved by: jlebon
Diffstat (limited to 'tests/test-concurrency.py')
-rwxr-xr-x | tests/test-concurrency.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py index 6aa8f269..bdcc1d91 100755 --- a/tests/test-concurrency.py +++ b/tests/test-concurrency.py @@ -43,6 +43,7 @@ subprocess.check_call(['ostree', '--repo=repo', 'init', '--mode=bare']) # and we don't need xattr coverage for this with open('repo/config', 'a') as f: f.write('disable-xattrs=true\n') + f.write('locking=true\n') def commit(v): tdir='tree{}'.format(v) |