Mercurial > hgsubversion
view tox.ini @ 1490:bc73b80baf98
SqliteRevMap: wait indefinitely for database lock
Python sqlite has 5 seconds timeout by default, which means if a writer holds
the lock, and the second writer will error out after 5 seconds.
In our use-case, it makes sense to just wait. However, sqlite does not support
waiting forever (see sqlite3_busy_timeout). Therefore use a while loop to
workaround.
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 19 Jul 2016 20:34:11 +0100 |
parents | be8f446f94e5 |
children | 60690af283e5 |
line wrap: on
line source
[tox] envlist = hg28,hg30,hg31,hg32,hg33,hg34,hg35,hg36,hg37,hg38 [testenv] deps= nose hg28: Mercurial==2.8.2 hg30: Mercurial==3.0.1 hg31: Mercurial==3.1.2 hg32: Mercurial==3.2.4 hg33: Mercurial==3.3.3 hg34: Mercurial==3.4.2 hg35: Mercurial==3.5.2 hg36: Mercurial==3.6.3 hg37: Mercurial==3.7.3 hg38: Mercurial==3.8.3 subvertpy commands=nosetests {posargs}