summaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/test_auth.py2
-rw-r--r--tests/server/test_config.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/server/test_auth.py b/tests/server/test_auth.py
index 78cf20ab..a313c934 100644
--- a/tests/server/test_auth.py
+++ b/tests/server/test_auth.py
@@ -43,7 +43,7 @@ class SoledadRealmTestCase(unittest.TestCase):
def test_returned_resource(self):
# we have to pass a pool to the realm , otherwise tests will hang
- conf = {'blobs': False}
+ conf = {'blobs': False, 'concurrent_blob_writes': 50}
pool = reactor.getThreadPool()
realm = SoledadRealm(conf=conf, sync_pool=pool)
iface, avatar, logout = realm.requestAvatar('any', None, IResource)
diff --git a/tests/server/test_config.py b/tests/server/test_config.py
index dfb09f4c..92b0f67f 100644
--- a/tests/server/test_config.py
+++ b/tests/server/test_config.py
@@ -66,5 +66,6 @@ class ConfigurationParsingTest(unittest.TestCase):
'batching': False,
'blobs': False,
'services_tokens_file': '/etc/soledad/services.tokens',
- 'blobs_path': '/var/lib/soledad/blobs'}
+ 'blobs_path': '/var/lib/soledad/blobs',
+ 'concurrent_blob_writes': 50}
self.assertDictEqual(expected, config['soledad-server'])