summaryrefslogtreecommitdiff
path: root/testing/tests/server/test_blobs_server.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-04-05 13:45:46 +0200
committerdrebs <drebs@leap.se>2017-04-15 13:11:54 +0200
commit639569f611963d8b876f7705accba4b88a1c871d (patch)
tree2503f1d3e6024de71c06d57d5a221364c39eab01 /testing/tests/server/test_blobs_server.py
parent8a1d160f9e753b8a201bca964b44df3832d3bee8 (diff)
[test] enforce bundled pysqlcipher in benchmark tests
The debian package for libsqlcipher does not enable the use of usleep(), and that might cause timeouts when doing concurrent access to sqlcipher databases. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859685 In benchmark tests we use twisted's asynchronous dbapi for creating thousands of documents, and if usleep() is not enabled this operation is very likelly to fail with a "db is locked" error. This commit adds a workaround for benchmark tests by reinstalling pysqlcipher with the "--bundled" option, what causes libsqlcipher to be built and bundled in the python package, with usleep() enabled. Resolves: #8835
Diffstat (limited to 'testing/tests/server/test_blobs_server.py')
0 files changed, 0 insertions, 0 deletions