Skip to content

Commit e4617ed

Browse files
committed
Minor tests fix in test_many_requests() - default max connections number
1 parent 26793e9 commit e4617ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def test(objects):
434434
def test_many_requests(self):
435435
@asyncio.coroutine
436436
def test(objects):
437-
max_connections = getattr(objects.database, 'max_connections', 0)
437+
max_connections = getattr(objects.database, 'max_connections', 1)
438438
text = "Test %s" % uuid.uuid4()
439439
obj = yield from objects.create(TestModel, text=text)
440440
n = 2 * max_connections # number of requests

0 commit comments

Comments
 (0)